Lagging tableview’s is a common issue within many iOS applications. Things have gotten considerably better since the early days of the app store, but it’s often still noticeable when large amounts of data are being displayed within a tableview cell.
I’ve mentioned tutorials on getting started using blocks, and Grand Central Dispatch in the past, and this tutorial goes along that path nicely. This tutorial provides an example of how to change a typical tableview cell loading an image (and lagging) into one that loads asynchronously.
The tutorial is from Jeff Kelley and can be found here:
Using GCD For Asynchronous Table View Cells
You can find the (recently enhanced for greater performance) example code on Github here:
https://github.com/SlaunchaMan/GCDExample
An excellent straightforward tutorial on solving a common problem!
©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.