Tutorial Details
- Technology: iPhone SDK 3.2 - 4
- Difficulty: Beginner
- Completion Time: 30 Minutes
Welcome to the second part of our series on using the UITableView class! In this tutorial, we will cover how to add details to a UITableViewCell class, more UITableViewDelegate methods, and lazy loading of table view rows. We will also customize the appearance of the table view using cell.textLabel.text, cell.imageView.image, cell.accessoryType, cell.detailTextLabel.text, and custom section header/footer text. These enhancements will make our UITableView class more aesthetically appealing while still sticking to the iPhone Human Interface Guidelines required by Apple.
Table Cell Display Properties:
- cell.textLabel.text: This property controls the main text label displayed in each table cell.
- cell.imageView.image: This property will set a custom UIImage to the left of the textLabel.
- cell.accessoryType: This property will set a default disclosure icon, such as a checkmark or blue arrow, to the right of the textLabel.
- cell.detailTextLabel.text This property will set a second row of slightly smaller text underneath the textLabel.
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
- http://bcproducties.com/ BCProducties
- Martin Jones
- http://twitter.com/patelaxit Axit Patel
- James
- Vasilis
- Axit Patel
- Martin Jones
- http://i.cbeninati.com C. A. Beninati
- http://twitter.com/patelaxit Axit Patel
- http://cligs.com Egze
- http://www.benpalmer.info Ben Palmer
- Ignacio
- http://www.benchic.com Ben
- Yang Fan
- http://mobile.tutsplus.com vishal
- http://twitter.com/patelaxit Axit Patel
- Dan
- http://www.ignacioopazo.com Ignacio
- Hitog
- http://birdfilms.com Judy Fieth
- Aj
- Michael
- Pat
- http://www.andreipotorac.com Andrei Potorac
- Suhail Larik
- http://techwonders.blogspot.com Tan
- http://greti.com rgreti
- http://yepdev.com Leonardo Frangelli
- SAleh
- Gislene
- Charged Neuron
- theprof
- Steiny
- adel
