The Recipe Detail

When users select a recipe in our application, we want to display everything about the recipe in one screen so they can easily absorb the information and prepare the recipe. We’ll need one fairly complex UIViewController in order to give them that one-screen access. Take a look at the following screenshot for a sample of the view.

images/Storyboard2.png

In our UIViewController, we’ll take the data object that was passed to us and display it in one (potentially) lengthy UIScrollView.

The edit button in the UINavigationBar is the interesting part of this view controller. When the edit button is clicked, we enter the edit workflow (we’ll discuss this ...

Get Core Data in Objective-C, 3rd Edition 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.