Re: Problem with Outline View and Manual Memory Management
Re: Problem with Outline View and Manual Memory Management
- Subject: Re: Problem with Outline View and Manual Memory Management
- From: Ken Thomases <email@hidden>
- Date: Tue, 26 May 2015 14:32:21 -0500
On May 26, 2015, at 1:34 PM, Dave <email@hidden> wrote:
> When I run the App, it displays the Tree View fine and Populates the two sections, but it crashes due to an over-release if I select a file based item - I found this by using NSZombies - it gives the error:
>
> *** -[NSImage release]: message sent to deallocated instance 0x20e5b9fc0
>
> I traced the problem down to the method copies below - please see comments in code. I’ve stopped it crashing by adding a retain although it doesn’t display the Files Correctly so there is something else wrong. I can’t figure out why I need this extra retain since everything seems to balanced without it.
>
> Any ideas how to debug this would be greatly appreciated.
You need to show the declaration and implementation of the nodeIcon property of the ChildNode class.
Regards,
Ken
_______________________________________________
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