Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming
by Maurice Sharp, Erica Sadun, Rod Strougo
Challenges
1. In CarDetailViewController, every time the car is changed, all the data is saved, even if it does not change. Update the controller to save data only when the data has changed.
2. In CarDetailViewController, entering the fuel is easy, but reading it is not. Add a label that shows the fuel and changes when the picker changes. Make sure the fuel area is visually grouped.
3. Add a new top-level menu item called Almost Blank that brings up a view controller with a label that says “This view intentionally left blank (except for this text).”
4. Practice setting an image for a car. This challenge requires the artwork in the CH11 Assets Big Placeholder folder from the sample code for this chapter. The basic steps to do this are as follows: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access