(iPhone SDK) How to link instance variables to a specific UILabel

Posted by Timbo on Stack Overflow See other posts from Stack Overflow or by Timbo
Published on 2010-04-22T10:48:51Z Indexed on 2010/04/22 10:53 UTC
Read the original article Hit count: 352

Filed under:
|

I'm using the iPhone SDK to build a simple application. I've created a brand new class which has a single variable. I need to make 5 instances of that class, which I have no trouble doing. I can create those instances and also set the variables without issue. What i do need to know is this:

How do I link each of the 5 different instances of the variable to different and specific UILabels?

Would I be better to create a method that dynamically creates and positions the labels?

Thanks for your help in advance, I'm now to this iphone programming thing. I'm serious about learning fast though so I have posted a bounty on this question here :

http://www.askearn.com/Responses.aspx?QuestionID=6542613f-7be8-4bb3-a950-aac218d47711

© Stack Overflow or respective owner

Related posts about iphone

Related posts about SDK