Re: ViewControllers and window nibs
Re: ViewControllers and window nibs
- Subject: Re: ViewControllers and window nibs
- From: Kyle Sluder <email@hidden>
- Date: Fri, 8 May 2009 07:25:24 -0400
On Fri, May 8, 2009 at 5:51 AM, Derek Chesterfield <email@hidden> wrote:
> I have a *vaguely* similar question: In IB, is it possible to connect an
> object in one NIB to an outlet in another NIB? Dragging a connection in IB
> across NIBs doesn't seem to work, so I suspect it is not possible??
No, it's not.
> PS: I know other solutions, e.g. code or bindings, but I am just wondering
> why I can't do it in IB...
Because it doesn't make sense. While things within a nib are
reconstituted together, there's no logical relationship between two
nibs. You might instantiate a nib dozens of times (think of your
document nib) but only instantiate other nibs once (think your main
menu nib). What sense would it make to wire things up between the
nibs? And how would IB know that it doesn't make sense?
--Kyle Sluder
_______________________________________________
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