Re: Re: Should I retain/release IBOutlet?
Re: Re: Should I retain/release IBOutlet?
- Subject: Re: Re: Should I retain/release IBOutlet?
- From: "Julien Jalon" <email@hidden>
- Date: Fri, 19 May 2006 01:56:44 +0200
"NSWindowController automatically releases its nib file's objects for you "
Which makes sense as the window controller is the file owner in the nib.
NSWindowController does his "file-owner" jobs: it keeps track of
top-level objects and release them when relevant. This is no special
case here.
The only special case is the "isReleasedOnClose" which is a "small"
hack to do simple nibs containing only one window. It is cleaner to
use NSWindowController stuff.
--
Julien
On 5/18/06, mmalcolm crawford <email@hidden> wrote:
On May 17, 2006, at 4:06 PM, Julien Jalon wrote:
> I don't see what's misleading/inaccurate/wrong here.
>
Please, read the documentation. In particular the difference in
behaviour between nibs loaded by NSWindowController objets and those
loaded by other objects...
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden