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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to