Re: Errors from NSTreeController (or NSOutlineView?)
Re: Errors from NSTreeController (or NSOutlineView?)
- Subject: Re: Errors from NSTreeController (or NSOutlineView?)
- From: "Brent Fulgham" <email@hidden>
- Date: Tue, 8 Jul 2008 15:14:46 -0700
On Fri, May 23, 2008 at 3:53 PM, Hamish Allan <email@hidden> wrote:
> On Fri, May 23, 2008 at 11:11 PM, Brent Fulgham <email@hidden> wrote:
>
>> "unexpected state: found the same object more than once, but can't
>> find the treenode for it"
>>
>> b) my add/remove test is leaving some vestige of the node behind. I
>> have confirmed that the node does get removed via a call to
>> "removeObjectIdenticalTo" call to the NSMutableArray, and that the
>> count of the array drops by one.
>>
I eventually tracked the problem down to poor memory management on my
part. I had some additional retain calls that were causing some of
the ChildNode objects I was creating to live on past their usefulness.
Thanks for all of your help.
-Brent
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden