PDA

View Full Version : Loading NIB files from a .plist file.




matthew858
Aug 29, 2008, 10:19 PM
Absolute noob wanting some advice - Can you do it? If so, how?



lee1210
Aug 29, 2008, 10:37 PM
If I understand correctly you want the name of a nib file in a plist, and then load it dynamically.

These pages have details on loading a nib dynamically, reading a plist is trivial, so combining the two should get you there.

http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/chapter_3_section_6.html
http://cocoadevcentral.com/articles/000064.php

-Lee