▶   We’ve been acquired by Pluralsight!   ▶   Upgrade your account to Pluralsight   ▶   More details…

iPhone View Controllers Part II


Download Free Preview

Purchase includes iPod download Purchase includes Quicktime (zip) download

Co-authored by Alex Vollmer, author of the Evri iPhone app and the PeepCode Screencast on MacRuby.

Our first iPhone View Controllers tutorial (Part I) was an instant hit. This screencast completes it and continues the momentum in our new series of iPhone development tutorials.

In this tutorial you’ll become confident using the simple yet powerful table view controller. You’ll learn about layout, interaction, workflow, capabilities, and tips for working with tables.

We go beyond simple usage to show how to use a custom cell that dynamically displays multiline text. And you’re free to use it in your own projects, too!

Rotation and modal controllers are explained with a sample project included. Explanation is enhanced by the informative diagrams and motion graphics you’re used to seeing at PeepCode.

We conclude with a priceless tour of troubleshooting tips that will help you write more reliable applications with much less pain.

Our 57 minute iPhone View Controllers tutorial covers:

  • Table View Controllers
  • DataSource & Delegate
  • Accessories & Callbacks
  • Reusing Cells
  • Cell Styles
  • Code: Table List Controller
  • Table View Methods
  • Populating the Cell
  • Connecting to the Nib
  • Bonus: KVO for Cell Images
  • Code: Grouped Table Detail Controller
  • Handling Row Selection
  • Using an Enum
  • The Table Footer View
  • Autoresizing
  • Dynamic Height Cells
  • Using a Custom Cell
  • Device Rotation
  • Presenting Modally
  • Troubleshooting
  • Expect Blood
  • Deploy Early
  • Zombies are your Friends
  • Threading Issues
  • Memory & Instruments
  • Non-Events
  • The Unexpected
  • Performance
  • Clang

See the graphic below for a full list of chapters and sub-sections.

Available as part of a PeepCode Unlimited subscription (including streaming on our iOS app!) Business plans are also available.

Uses icons by Joseph Wain / glyphish.com and the HTTPRiot REST library.


Assumes basic knowledge of the Objective-C programming language. Part I in this series is also recommended.

Revision 2 (Notes) · Updated: Jul 07, 2010 · Length: 57 min · 100 MB

Screencast Catalog