• 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: 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


  • Follow-Ups:
    • Re: IB3 Application vs File Owner
      • From: Jonathan Hess <email@hidden>
    • Re: IB3 Application vs File Owner
      • From: "Kyle Sluder" <email@hidden>
References: 
 >IB3 Application vs File Owner (From: Trygve Inda <email@hidden>)

  • Prev by Date: Post notification among several nib files?
  • Next by Date: Re: Post notification among several nib files?
  • Previous by thread: IB3 Application vs File Owner
  • Next by thread: Re: IB3 Application vs File Owner
  • Index(es):
    • Date
    • Thread