Challenges

1. Add an About This app scene. It can be triggered from an About button in the add/view scene or, for a more advanced challenge, an Info button in the navigation bar.

2. Modify the project so that it uses only the segue and unwind segue mechanisms to share data and updates. Hint: Start by removing the changes made to add the CarEditViewControllerProtocol.

3. Add behavior to the detail area of the add/view scene that disables the Previous and Next car buttons when there is no previous or next item. Hint: UIButton inherits from UIControlItem that has a BOOL property called enabled. YES enables the button, NO disables it.

4. Add the capability to cancel editing of a car. Hint: You need to have UI elements for saving and canceling as ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.