• 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: Thu, 18 Oct 2001 10:15:38 -0400

But I thought we just agree on the fact that the file owners of all type release all the top level object anyways, so how is it special for window controllers?

On Thursday, October 18, 2001, at 07:38 AM, Ondra Cada wrote:

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


  • 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: Ownership of nib instances
  • Next by Date: DV Capture
  • Previous by thread: Re: Ownership of nib instances
  • Next by thread: Re: Ownership of nib instances
  • Index(es):
    • Date
    • Thread