• 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: Replacing a tableView Cell with null
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing a tableView Cell with null


  • Subject: Re: Replacing a tableView Cell with null
  • From: Steven Hamilton <email@hidden>
  • Date: Tue, 9 Jun 2009 19:45:01 +1000




___

return [tableColumn dataCell];

also note you have a memory leak, you want return [cell autorelease], and probably don't want to alloc the cell until you need it.

Gotcha. Thanks a lot.
_______________________________________________

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: 
 >Re: Replacing a tableView Cell with null (From: Steven Hamilton <email@hidden>)
 >Re: Replacing a tableView Cell with null (From: Corbin Dunn <email@hidden>)

  • Prev by Date: [NSTask] -launch return
  • Next by Date: Table column sorting for ImageAndTextCell
  • Previous by thread: Re: Replacing a tableView Cell with null
  • Next by thread: Backtabbing into an NSTableView
  • Index(es):
    • Date
    • Thread