• 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: Problem with Outline View and Manual Memory Management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Problem with Outline View and Manual Memory Management (From: Dave <email@hidden>)

  • Prev by Date: Re: Off center guides
  • Next by Date: Re: Problem with Outline View and Manual Memory Management
  • Previous by thread: Problem with Outline View and Manual Memory Management
  • Next by thread: Re: Problem with Outline View and Manual Memory Management
  • Index(es):
    • Date
    • Thread