• 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: Henri Lamiraux <email@hidden>
  • Date: Wed, 17 Oct 2001 16:44:48 -0700

No it would not be. Instantiating a top level object in IB is exactly
like calling [[aClass alloc] init]. In this case it is initWithCoder
instead of simply init but the result it the same: an object is being
allocated and initialized and someone has to release it. The nib model
is perfectly consistent with the rest of Cocoa.

On Wednesday, October 17, 2001, at 05:26 PM, Ondra Cada wrote:

> Actually, I guess it might be more consistent if loaded NIBs were
> autoreleased. They are not, though, so we have to cope with that ;)
>
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple


References: 
 >Re: Ownership of nib instances (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 1 #731 - 16 msgs
  • Next by Date: Re: Dynamically created widgets
  • Previous by thread: Re: Ownership of nib instances
  • Next by thread: Re: Ownership of nib instances
  • Index(es):
    • Date
    • Thread