Re: Ownership of nib instances
Re: Ownership of nib instances
- Subject: Re: Ownership of nib instances
- From: Ondra Cada <email@hidden>
- Date: Thu, 18 Oct 2001 12:38:58 +0100
Joe,
>
>>>>> Joe Chan (JC) wrote at Wed, 17 Oct 2001 23:08:14 -0400:
JC> I think I mostly understand, except one point: if the file's
JC> owner always release the top level objects, how is window
JC> controllers special: they release all the top level objects just
JC> like other file owner's do, right?
Right. The only "special" thing is from the programmer's way: if he uses an
NSWindowController, the releasing is taken care for. If he uses anything
other, he has to do it himself.
In a sense, this is similar to a difference between using NSView or
NSImageView for displaying an image: both do that, but in the former case you
have to implement it, whilst in the latter one it's done for you.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc