On May 26, 2015, at 1:34 PM, Dave <d...@looktowindward.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com