Building the User Interface

Now that we have all the data objects referenced properly, it’s time to build the user interface. Although this interface won’t be winning an Apple Design Award any time soon, it does allow us to view and edit all the data objects in our model. The window we’re building looks like the following image.

images/RunningApp.png

Let’s walk through the steps to set it up. For a more detailed review of this process, take a look at Chapter 11, Bindings, KVC, and KVO.

Building the Recipe Source List

The first part of the interface we’re building is in the upper-left corner, just below the search field. This view is an NSTableView configured with ...

Get Core Data in Swift now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.