Re: Custom tableView cell by subclassing NSCell
Re: Custom tableView cell by subclassing NSCell
- Subject: Re: Custom tableView cell by subclassing NSCell
- From: Corbin Dunn <email@hidden>
- Date: Wed, 06 May 2009 16:15:29 -0700
On May 6, 2009, at 3:50 PM, Malayil George wrote:
Thanks Joar. Turns out you were right...it wasn't really because of
the
retain/copy semantics in my property declaration. Changing the
variable name
to myImage and the setter/getters accordingly has taken care of the
issue
and it works fine.
Based on your original message, it appears you were not implementing
copyWithZone. If changing the getters/setters fixed the problem, then
it is probably due to over-retaining something, and causing a leak.
If you were getting a crash when clicking on cells, it was (more than
likely) because of a wrongly implemented copyWithZone:.
corbin
_______________________________________________
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