• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IB3 Application vs File Owner
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >IB3 Application vs File Owner (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Binding NSTabViews in NSCollectionViews?
  • Next by Date: Core Data Exception: NSTemporaryObjectID_default
  • Previous by thread: Re: IB3 Application vs File Owner
  • Next by thread: Post notification among several nib files?
  • Index(es):
    • Date
    • Thread