Graphics Programs Reference
In-Depth Information
Core Data has iCloud support built in. An application can fetch and insert objects into a
Core Data store in the cloud, and other devices will be informed of each change. Thus,
maintaining the list of URLs with Core Data will be incredibly efficient: whenever an
item is read, its URL will be inserted into the cloud. Other devices will download this
small change instead of having to fetch the entire list of read items each time it changes.
In this section, we'll take care of setting up Core Data and storing its SQLite database loc-
ally. In the next chapter, we will make the necessary changes to integrate iCloud support.
First, add the CoreData framework to the Nerdfeed target.
Next, add a Core Data model file to Nerdfeed and name it Nerdfeed.xcdatamodeld
( Figure 29.9 ) .
Search WWH ::




Custom Search