5. Table Views

If we knew what it was we were doing, it would not be called research, would it?

Albert Einstein

In Chapter 4, “Managed Object Model Expansion,” you tapped into the flexibility that relationships and entity inheritance add to a managed object model. Up until now, the demonstrations were constrained to the console log. It’s now time to move closer to the end user experience as you’re shown how to efficiently present Core Data-fetched results in a table view. This chapter begins with a brief refresher on table views and then dives right in to constructing a Core Data-driven Table View Controller subclass. This reusable subclass is leveraged to populate two new table views—one for preparing a shopping list and one for shopping with. ...

Get Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second 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.