• 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: Errors from NSTreeController (or NSOutlineView?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: NSTableView and CoreAnimation
  • Next by Date: Re: MIDI Sequencing
  • Previous by thread: Re: NSTableView and CoreAnimation
  • Next by thread: Distributed Objects "connection went invalid while waiting for a reply"
  • Index(es):
    • Date
    • Thread