ThreadedCoreData

Last Revision:
Version 1.2, 2013-08-06
Now uses NSURLConnection's sendAsynchronousRequest API, also uses NSCurrentLocaleDidChangeNotification to detect for locale changes.
(Full Revision History)
Build Requirements:
Xcode 4.6, iOS 6.0 SDK or later
Runtime Requirements:
iOS 6.0 or later, Automatic Reference Counting (ARC)

Demonstrates how to use Core Data in a multi-threaded environment, following the first recommended pattern mentioned in the Core Data Programming Guide.

Based on the SeismicXML sample, it downloads and parses an RSS feed from the United States Geological Survey (USGS) that provides data on recent earthquakes around the world. What makes this sample different is that it persistently stores earthquakes using Core Data. Each time you launch the app, it downloads new earthquake data, parses it in an NSOperation which checks for duplicates and stores newly founded earthquakes as managed objects.

For those new to Core Data, it can be helpful to compare SeismicXML sample with this sample and notice the necessary ingredients to introduce Core Data in your application.