Re: IB3 Application vs File Owner
Re: IB3 Application vs File Owner
- Subject: Re: IB3 Application vs File Owner
- From: Jonathan Hess <email@hidden>
- Date: Mon, 10 Mar 2008 12:53:14 -0700
On Mar 8, 2008, at 8:27 AM, Quincey Morris wrote:
On Mar 8, 2008, at 06:54, Trygve Inda wrote:
IB3 has added an NSApplication object. How does this work... It
seems if my
AppController is still the delegate of the File's Owner that the
specific
instance of NSApplication is not needed.... Since it is created at
run time
anyway.
It's a placeholder, not an object in the nib file, just like File's
Owner and First Responder.
In a main menu nib, Application and File's Owner will be
placeholders for the same object. Interestingly, IB doesn't seem to
be smart enough to realize that they must be the same object, so
setting the outlets of one doesn't affect the other within IB. The
IB documentation is silent on who wins at runtime in this situation.
As long as you don't have conflicting connections, you'll get the
merger of all of the connections. The only type of connection that
would conflict would be an outlet connection for the same outlet
connected once for each proxy. If you make outlet connections for the
same outlet from both proxies, then the winner probably won't be
deterministic.
Jon Hess
_______________________________________________
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