0

I'm using the TTTableViewController and datasource and I notice every time a new cell is being loaded it is a little bit sticky. My source code is too long to post so I was wondering if there were any tips or things to look out for to optimize the three20 table view?

Ngoan Nguyen
  • 747
  • 2
  • 9
  • 19

1 Answers1

0

This is very interesting. I have a tableView that creates many UIImageViews in lazy loaded cells and replacing imageWithContentsOfFile virtually removed a slight pause when the cells were being recreated. Each cell has 1 changing image, and 2-3 images that never change.

According to this thread, imageNamed should not be used: img_data_lock iphone - imageNamed vs imageWithContentsofFile, I have not noticed any crashes with imageNamed, can you explain why this is so?

Community
  • 1
  • 1
Ngoan Nguyen
  • 747
  • 2
  • 9
  • 19