Re: NSWindowController versus other NIB Owners
Re: NSWindowController versus other NIB Owners
- Subject: Re: NSWindowController versus other NIB Owners
- From: "Julien Jalon" <email@hidden>
- Date: Fri, 16 Feb 2007 03:08:31 +0100
Well... as you said it: the nib owner must release the top-level
objects... so does NSWindowController. You can achieve the same
behavior with your own (not NSWindowControllers) nib-owners by using
-loadNibNamed:externalNameTable:withZone: and NSTopLevelObjects key...
--
Julien
On 2/16/07, Seth Willits <email@hidden> wrote:
It seems to me that NSWindowController releases all top-level items
in its nib, while if you use NSBundle loadNibNamed:owner:, then the
owner must release them all manually. Is this the case?
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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