Re: Understanding crashes
Re: Understanding crashes
- Subject: Re: Understanding crashes
- From: Daniel Rasmussen <email@hidden>
- Date: Tue, 12 Jul 2005 18:27:46 -0500
On Jul 12, 2005, at 2:53 PM, Corbin Dunn wrote:
Are there common mistakes with outline views,
OutlineViews do not retain the data objects; if you are expecting
them to be retained, that could cause a problem.
Also, you may be holding onto an object that was the result of an
[autorelease], and you never did a [retain].
-corbin
Well, my outline view's data source always retains its items. Right
now my outlineView:objectValueForTableColumn:byItem: method returns
anAttributedString. Should I return [anAttributedString retain], and
if so, how would I release it later?
Thanks,
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden