• 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: NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument


  • Subject: Re: NSDocument
  • From: Graham Cox <email@hidden>
  • Date: Fri, 15 Jan 2010 11:30:27 +1100

On 15/01/2010, at 10:16 AM, Matt Neuburg wrote:

> Because I was totally wrong! Ignore me. The MyDocument is the file's owner
> for the document nib, so it does have an instance in the nib, and
> awakeFromNib is called when the nib opens for a document. m.


Still slightly wrong.

File's Owner is NOT an instance in the nib - it's an instance of something already in your app. The icon in the nib is just a proxy or stand-in for this object. However, it does have its -awakeFromNib method called *as if* it were an instance in the nib.

--Graham


_______________________________________________

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: 
 >Re: NSDocument (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: If Array Controller is empty, how to populate pop-up list?
  • Next by Date: Re: NSDocument
  • Previous by thread: Re: NSDocument
  • Next by thread: Re: NSDocument
  • Index(es):
    • Date
    • Thread