In Interface Builder it is easy to connect an object from the NIB to an outlet in the File’s Owner
I have an array of UIImage
I need to create an outlet for each image of the array programmatically?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You only need
IBOutletentries for those controls you create in IB, Interface Builder. If you create controls programmatically, which it sounds like you want to do, you go ahead and programmatically create yourUIImageViewobjects, but you would not have not correspondingIBOutletstatements.Google “UIImageView create programmatically” for some examples.