Re: How to use IB to create a viewcontroller which actually linking to another nib file?
Re: How to use IB to create a viewcontroller which actually linking to another nib file?
- Subject: Re: How to use IB to create a viewcontroller which actually linking to another nib file?
- From: Jonathan Hess <email@hidden>
- Date: Wed, 26 Nov 2008 00:52:07 -0800
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden