Re: Ownership of nib instances
Re: Ownership of nib instances
- Subject: Re: Ownership of nib instances
- From: Joe Chan <email@hidden>
- Date: Wed, 17 Oct 2001 19:13:52 -0400
JC> It seems to me that the file
JC> owner object some how has a hidden reference to all those
JC> instances, and as the file owner goes away, so do those objects.
If the File Owner happens to be an NSWindowController, it
really has some
kind of hidden reference to all those objects, and it truly
releases them
when it is unallocated.
Though, if you use a different class for File Owner, you have
to do that yourself.
Where is it documented that who owns (or not) which object in a
nib? In general, if I have a network of objects in a nib, what
rules should I use to establish ownership?
-----------
Joe Chan
email@hidden
http://www.firstian.com