Version 1.1, 2013-06-09
Updated to use Automatic Reference Counting (ARC) and storyboards.
(Full Revision History)
Xcode 4.6, iOS 6.0 SDK or later
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.
© 2013 Apple Inc. All Rights Reserved. (Last updated: 2013-06-09)