¡@

Home 

2014/10/15 ¤U¤È 10:15:14

iphone Programming Glossary: uiawesomesauce

How do I get a view in Interface Builder to load a custom view in another nib?

http://stackoverflow.com/questions/3944964/how-do-i-get-a-view-in-interface-builder-to-load-a-custom-view-in-another-nib

widget that I would like to use in multiple nibs. So I make a new view nib Screen3 add some buttons and now want my UIAwesomeSauce widget. If I just add a view and then change the Class Identity it doesn't get the subelements from the UIAwesomeSauce nib... UIAwesomeSauce widget. If I just add a view and then change the Class Identity it doesn't get the subelements from the UIAwesomeSauce nib. Same thing if I go to the Library and switch to Classes. It seems only a UIViewController has the field for Load from.. It seems only a UIViewController has the field for Load from nib which would be beautiful. I know I can load the UIAwesomeSauce nib from code get the top level objects and place it by hand. But the point of IB is so you don't have to place things in..