Re: Arggg...overrelease in table view cell, but where?
Re: Arggg...overrelease in table view cell, but where?
- Subject: Re: Arggg...overrelease in table view cell, but where?
- From: mmalc Crawford <email@hidden>
- Date: Thu, 11 Dec 2008 13:14:09 -0800
On Dec 11, 2008, at 1:06 PM, Benjamin Stiglitz wrote:
NSCells use NSCopyObject to do their copies, which ends up setting
the values of cellObject and gridController in your copies, but not
retaining them. You need to nil them out before setting the values
in your properties.
<http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/MemoryMgmt/Tasks/ImplementCopy.html#//apple_ref/doc/uid/20000049-997407
>
mmalc
_______________________________________________
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