Re: IB3 Application vs File Owner
Re: IB3 Application vs File Owner
- Subject: Re: IB3 Application vs File Owner
- From: Julien Jalon <email@hidden>
- Date: Sat, 8 Mar 2008 19:27:10 +0100
NSApplication shared instance is now available in all NIB files in
IB3. It's there for convenience.
File's owner is the object loading the nib. In general, it is NSApp
only for MainMenu.nib (the first NIB to be loaded). In that NIB, both
objects designate the same instance.
--
Julien
Sent from my iPhone
Le 8 mars 08 à 15:54, Trygve Inda <email@hidden> a écrit :
In IB 2 there was only a File's Owner and First Responder and one
typically
made an AppController object as a subclass of NSObject and made it a
delegate of File's Owner.
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.
Thanks,
Trygve
_______________________________________________
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