• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ownership of nib instances
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Ownership of nib instances
      • From: Scott Herz <email@hidden>
    • Re: Ownership of nib instances
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Ownership of nib instances (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Beginner's questions
  • Next by Date: Re: Ownership of nib instances
  • Previous by thread: Re: Ownership of nib instances
  • Next by thread: Re: Ownership of nib instances
  • Index(es):
    • Date
    • Thread