Database Reference
In-Depth Information
Great! They're back from the dead. Add a few more names to the list and restart
the app to verify that saving and fetching are working properly. Short of deleting
the app, resetting the Simulator or throwing your phone off a tall building, the
names will appear in the table view no matter what.
Where to go from here?
In just a few pages, you've already experienced several fundamental Core Data
concepts: data models, entities, attributes, managed objects, managed object
contexts and fetch requests.
There were a few rough edges in HitList: you had to get the managed object
context from the app delegate each time, and you used KVC to access the
attributes rather than a more natural object-style person.name .
The best way to get familiar with Core Data is to play with it, so that's exactly what
you'll do in the next chapter! You'll file away some of those rough edges and also
work with a more complex data model as you learn more about Core Data.
 
 
Search WWH ::




Custom Search