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?
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.
-[NSBundle loadNibNamed:owner:options:]
2.1m questions
2.1m answers
60 comments
57.0k users