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:]
1.4m articles
1.4m replys
5 comments
57.0k users