Re: NSWindowController versus other NIB Owners
Re: NSWindowController versus other NIB Owners
- Subject: Re: NSWindowController versus other NIB Owners
- From: Ricky Sharp <email@hidden>
- Date: Thu, 15 Feb 2007 21:14:14 -0600
On Feb 15, 2007, at 7:31 PM, Seth Willits 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?
As others have mentioned, yes.
Depending upon your needs (and since you've been writing about
bindings recently), definitely check out the following threads from
Dec 2005:
subject: "instantiateNibWithOwner:topLevelObjects: usage"
subject: "Releasing all nib objects"
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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