O'Reilly logo

Swift Programming: The Big Nerd Ranch Guide by John Gallagher, Matthew Mathias

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Gold Challenge

There is a pretty glaring omission in iTahDoodle: The user cannot remove items! Make it possible for users to remove an item by tapping on it. You already know enough to update TodoList. Here is a hint about how to detect when the user taps on a row: Make your view controller the table view’s delegate. This will require conforming to the UITableViewDelegate protocol. UITableViewDelegate has a method that will be very useful for this challenge: Tapping on a row results in selection of that row.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required