Hey,
Reading through the apple documentation, I came across this paragraph:
How exactly do I set the view controller's nib file name in IB? Also, how would I then go on to create an instance of my view controller so it loads the nib and so I can then add it as a sub view etc...
Full document here: http://developer.apple.com/iphone/l...1.html#//apple_ref/doc/uid/TP40007457-CH5-SW1
Cheers
Reading through the apple documentation, I came across this paragraph:
If you use Interface Builder, it is recommended that you set up the views for your view controllers in separate nib filesthat is, you create a nib file for each application view. In this case, you set the Files Owner to your view controller subclass and connect the Files Owner view outlet to the root view in the nib file. You can then create the view controller programmatically using the initWithNibName:bundle: method or by setting the view controllers nib file name in Interface Builder. When you set the nib file name, an instance of your view controller class is created and initialized with the contents of the specified nib file.
How exactly do I set the view controller's nib file name in IB? Also, how would I then go on to create an instance of my view controller so it loads the nib and so I can then add it as a sub view etc...
Full document here: http://developer.apple.com/iphone/l...1.html#//apple_ref/doc/uid/TP40007457-CH5-SW1
Cheers