• 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: Re: Should I retain/release IBOutlet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Should I retain/release IBOutlet?


  • Subject: Re: Re: Should I retain/release IBOutlet?
  • From: "Julien Jalon" <email@hidden>
  • Date: Fri, 19 May 2006 01:56:44 +0200

"NSWindowController automatically releases its nib file's objects for you "
Which makes sense as the window controller is the file owner in the nib.
NSWindowController does his "file-owner" jobs: it keeps track of
top-level objects and release them when relevant. This is no special
case here.

The only special case is the "isReleasedOnClose" which is a "small"
hack to do simple nibs containing only one window. It is cleaner to
use NSWindowController stuff.

--
Julien

On 5/18/06, mmalcolm crawford <email@hidden> wrote:

On May 17, 2006, at 4:06 PM, Julien Jalon wrote:

> I don't see what's misleading/inaccurate/wrong here.
>
Please, read the documentation.  In particular the difference in
behaviour between nibs loaded by NSWindowController objets and those
loaded by other objects...

mmalc


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Should I retain/release IBOutlet? (From: Eric <email@hidden>)
 >Re: Should I retain/release IBOutlet? (From: Bill Bumgarner <email@hidden>)
 >Re: Should I retain/release IBOutlet? (From: Eric <email@hidden>)
 >Re: Should I retain/release IBOutlet? (From: mmalcolm crawford <email@hidden>)
 >Re: Should I retain/release IBOutlet? (From: Eric <email@hidden>)
 >Re: Re: Should I retain/release IBOutlet? (From: Eric <email@hidden>)
 >Re: Should I retain/release IBOutlet? (From: mmalcolm crawford <email@hidden>)
 >Re: Re: Should I retain/release IBOutlet? (From: "Julien Jalon" <email@hidden>)
 >Re: Should I retain/release IBOutlet? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Opening arbitrary address books with AddressBook.framework
  • Next by Date: Re: Opening arbitrary address books with AddressBook.framework
  • Previous by thread: Re: Should I retain/release IBOutlet?
  • Next by thread: Why would NSTreeController ignores remove:?
  • Index(es):
    • Date
    • Thread