i'm trying create view controller , wire view using nib file. know can use:
code:
[[myviewcontroller alloc] initwithnibname:@"nibname" bundle:nil];
however, specifying nil bundle cause use default bundle, nib want load in different directory. don't know working bundles, have nsstring object path specified nib. in advance!
regardless of nib located on hard drive, adding xcode project in normal way result in being in default location nib files in bundle, i.e. calling initwithnibname expect if specify nil bundle.
unless specified custom build phase nib resources caused them end in nonstandard location, use nil bundle.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment