• 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: UITableView Custom cell with image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableView Custom cell with image


  • Subject: Re: UITableView Custom cell with image
  • From: Luke the Hiesterman <email@hidden>
  • Date: Tue, 22 Sep 2009 13:53:37 -0700

First, you should be reusing table cells as a basic first step. If you're not doing that, start now. Second, you should solve your stutter problem by returning the cell right away and asynchronously loading the image into the cell. If you don't hold up cell creation/ display on loading of the image, you won't have stutter, and you can then add the image to the cell when it's ready.

Luke

On Sep 22, 2009, at 12:26 PM, Development wrote:

I have a UITableViewCell with a UIImageView that's 44X44 pixels. I'm loading three different tables with a total of around 200 images none of which are more than 100k.
So. My problem is memory warnings that cause the app to quit quite unceremoniously. I have tried loading the image when the cell is viewed. That makes an ugly stutter. And no help with memory warnings. I have tried storing the image in memory and simple adding the image to the UIImageView when the cell is returned. Same problem, lots of stutter and memory warnings.


What can I do to have the image in the cell, without the memory problems?
_______________________________________________


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

_______________________________________________

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: 
 >UITableView Custom cell with image (From: Development <email@hidden>)

  • Prev by Date: Re: drawing/masking one image with the alpha value from another
  • Next by Date: Re: Core Data memory not freed after reset
  • Previous by thread: Re: UITableView Custom cell with image
  • Next by thread: Re: Cocoa-dev Digest, Vol 6, Issue 1355
  • Index(es):
    • Date
    • Thread