Re: IB3 Application vs File Owner
Re: IB3 Application vs File Owner
- Subject: Re: IB3 Application vs File Owner
- From: Quincey Morris <email@hidden>
- Date: Sat, 8 Mar 2008 08:27:15 -0800
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.
_______________________________________________
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