Chapter 12
Document-Based Applications
So far, the applications we’ve built in this book all have one major shortcoming in common: each of them acts in sort of an all-or-nothing way. We’ve either got a particular piece of data in the one backing store that the application is using (if it’s using one at all), or we don’t have it anywhere. None of them has any notion of letting us split our data into the discrete, unrelated storage units that we call “documents.” Although having everything in a single database is good for some purposes, for others it’s a huge hindrance. What if we want to share just a part of our data with someone else? What if we want to be able to view details for two or more of the same kind of Core Data entity, in multiple ...
Get Learn Cocoa on the Mac, 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.