Good programmers know what’s beautiful and bad ones don’t.
—D. Gelernter (Machine Beauty, Basic Books, 1998)
Until now, we’ve discussed how to set up our Core Data stack and define our entities and their relationships, but we really haven’t talked about working with these entities.
When I say “working,” I mean creating entities and fetching, updating, or deleting them.
Well, now we have reached the money time!
What are contexts
How to insert, fetch, and delete objects
How to predefine fetch requests in our data model ...