I have a subclass ‘s’ of UIView. I want to put some buttons and labels on s. How do I associate my UIView subclass with a nib file?
Share
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 should be able the drag buttons in. To get at the nib from code, use
-[NSBundle loadNibNamed:owner:options:]. Your view should be the first object in the returned array.