O'Reilly logo

Core Data in Swift by Marcus S. Zarra

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

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 tapped, we enter the edit workflow (we’ll discuss this ...

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