Re: Can a nib be confused about its owner?
Re: Can a nib be confused about its owner?
- Subject: Re: Can a nib be confused about its owner?
- From: "Hamish Allan" <email@hidden>
- Date: Mon, 23 Jun 2008 01:29:36 +0100
On Mon, Jun 23, 2008 at 1:19 AM, John Murphy <email@hidden> wrote:
> Since the File's Owner "object" in a nib file is actually a proxy for an object that is provided at runtime, what happens if the nib is expecting NSApplication to be its File's Owner but you called for the nib to be loaded from inside your code using an instance of NSWindowController. Who wins?
NSWindowController wins. Setting the class of file's owner in IB just
lets it know which outlets etc. should be exposed.
Hamish
_______________________________________________
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