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 will begin with a brief refresher on table views and then dive right in to constructing a Core Data–driven Table View Controller subclass. This reusable subclass will be leveraged to populate two new table views—one for preparing a shopping list and one for shopping ...

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