Hey Hu -
You can drag a view controller into your document from the library,
and then set the NIB name in the attributes inspector (command + 1).
When the outer NIB is loaded, the view controller will be immediately
created but will lazily load its view from the specified NIB/XIB.
Good luck -
Jon Hess
On Nov 26, 2008, at 3:39 PM, Hu Shaw wrote:
Hi All,
I'm a newbie here. And i'm not sure if I can send questions directly
to this
mail list. If not, please kindly tell me how to ask questions. Thanks!
When I create a new prj using "viewbased app" template, it will
create 2 nib
file. And in MainWindow.xib, thre is a viewcontroller, when I open
it, it
says loaded from "another viewcontroller.nib".
Question is how do I mimic this behaviour and create a new
viewcontroller
which suppose to load from a new xib file.
He Xiao
2008-11-26
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/jhess%40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]