Re: NSOutlineView: expanding an item retains it?
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