6. Views

A man should look for what is, and not for what he thinks should be.

Albert Einstein

Chapter 5, “Table Views,” demonstrated how to create Core Data-backed table views. During this process, the benefits of a fetched results controller were explained as one was implemented in CDTableViewController. This helpful UITableViewController subclass was itself subclassed as you customized the Prepare and Shop tabs to display different information. This chapter shows how to pass managed objects from a table view to a detail view. This detail view is configured to edit the selected managed object attribute values using a UITextField.

View Basics

The most common standard iOS interface element is the UIView. Based on UIResponder, this powerful part ...

Get Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition now with O’Reilly online learning.

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