Re: NSDocument
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