• 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: NSOutlineView: expanding an item retains it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView: expanding an item retains it?


  • Subject: Re: NSOutlineView: expanding an item retains it?
  • From: Steve Mykytyn <email@hidden>
  • Date: Sat, 22 Jan 2005 16:38:52 -0800

I'm not that interested in whether or not NSOutlineView should retain items it expands, I'm only looking for confirmation from others that it does or does not. Looks that way to me , but confirmation or contradiction would be most helpful. I would have figured this might be mentioned in the documentation, but I can't find it, which is why I'm not sure it's true.

Seeing some objects that "belong" to an NSDocument receive a dealloc message AFTER the NSDocument has completed its dealloc is a little worrisome. It's not impacting me directly at the moment, but if I had done a few things differently it MIGHT.

It also makes a quick check of your retain counts a little confusing unless you realize this is happening ;-)

On Jan 22, 2005, at 6:29 AM, Clark Cox wrote:

When an NSOutlineView has an expanded item, it needs to hold onto that
item so that it can come back and ask you for its sub-items. If it
didn't retain it, then how could it reliably do that?


On Fri, 21 Jan 2005 21:44:55 -0800, Steve Mykytyn <email@hidden> wrote:
Has anyone else run across this?


_______________________________________________ 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
  • Follow-Ups:
    • Re: NSOutlineView: expanding an item retains it?
      • From: j o a r <email@hidden>
References: 
 >NSOutlineView: expanding an item retains it? (From: Steve Mykytyn <email@hidden>)
 >Re: NSOutlineView: expanding an item retains it? (From: Clark Cox <email@hidden>)

  • Prev by Date: Re: storing numbers
  • Next by Date: XCode: generate KVC compliant method bodies from header
  • Previous by thread: Re: NSOutlineView: expanding an item retains it?
  • Next by thread: Re: NSOutlineView: expanding an item retains it?
  • Index(es):
    • Date
    • Thread