I have a class named myClass with a UIImageView imgView and other vars. How can I display that view in the interface builder?
Sorry if the question isn’t very exact, I’m new in iOS development. Ask me for any question.
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 need to declare it in myClass.h as an IBOutlet:
Then you can connect the outlet to the property in interface builder. See the picture below for an example: