• 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: Outline View not retaining objects it uses. Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outline View not retaining objects it uses. Why?


  • Subject: Re: Outline View not retaining objects it uses. Why?
  • From: Paul Sargent <email@hidden>
  • Date: Sun, 20 Jul 2008 01:56:19 +0100


On 19 Jul 2008, at 22:49, Andy Lee wrote:

On Jul 19, 2008, at 5:35 PM, Paul Sargent wrote:
This works fine the first time the view is populated, but when it's refreshed it just calls the second method with the pointers to the dictionaries I return first time round. Trouble is they've been autoreleased by now.

Maybe this is relevant:

<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Concepts/ObjectOwnership.html#//apple_ref/doc/uid/20000043 >
In Cocoa, references to table data sources, outline view items, notification observers, and delegates are all considered weak (for example, an NSTableView object does not retain its data source and the NSApplication object does not retain its delegate).

Thank for the pointer Andy.

I can see why all the other items are on that list, but why outline view items? ... and by extension should table view items be on that list too?
_______________________________________________


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


  • Follow-Ups:
    • Re: Outline View not retaining objects it uses. Why?
      • From: Aaron Burghardt <email@hidden>
References: 
 >Outline View not retaining objects it uses. Why? (From: Paul Sargent <email@hidden>)

  • Prev by Date: Re: Outline View not retaining objects it uses. Why?
  • Next by Date: Re: Dot Syntax docs missing?
  • Previous by thread: Re: Outline View not retaining objects it uses. Why?
  • Next by thread: Re: Outline View not retaining objects it uses. Why?
  • Index(es):
    • Date
    • Thread