• 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: Custom tableView cell by subclassing NSCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Custom tableView cell by subclassing NSCell (From: Malayil George <email@hidden>)
 >Re: Custom tableView cell by subclassing NSCell (From: Joar Wingfors <email@hidden>)
 >Re: Custom tableView cell by subclassing NSCell (From: Malayil George <email@hidden>)

  • Prev by Date: Re: Create disk image files
  • Next by Date: Re: Create disk image files
  • Previous by thread: Re: Custom tableView cell by subclassing NSCell
  • Next by thread: Binding the enabled attribute of each NSPopUpButtonCell
  • Index(es):
    • Date
    • Thread