Table Readiness
As the properties and methods you’ve learned about reveal, fetched results instances are table-ready. Recipe 12-1 presents all the standard table methods, adapted to Core Data fetched results. As you can see, each method used for creating and managing sections is tiny. The built-in Core Data access features reduce these methods to one or two lines each. That’s because all the work in creating and accessing the sections is handed over directly to Core Data. The call that initializes each fetched data request specifies what data attribute to use for the sections. Core Data then takes over and performs the rest of the work.
Figure 12-2 shows the interface that Recipe 12-1 builds. It offers a full-featured table, complete with section ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access