Chapter 6 from "Beginning iOS 6 Development"