In this chapter, you will do the following:
Use the benchmark tools you saw in Chapter 2 in a real example.
Work step by step with an example of scrolling performance optimization.
Use techniques to optimize UITableView performance.
Basic techniques to optimize simple and basic cells in UITableView.
Hardcore techniques using code to actually draw the view inside the cell.
Basic optimization techniques for cells need animation like editing and reordering.
Other basic techniques that developers need to know.
iPhone apps usually display data in the list format. Apple provides excellent tools for basic developers: UITableView and UITableViewCell. If developers only want to use basic features to display a small image on the left and text in the center, the default Apple control should work well. However, when you have to do lots of customization to the listing order to have two or three images and text in different places, you’ll run into problems. Sooner or later, you’ll run into performance problems with jerky scrolling of the UITableView, especially on old devices like iPhone 3G.