Last Revision:
Version 1.4, 2013-09-23
Upgraded to support iOS 6.0 SDK, uses Automatic Referencing Counting (ARC), uses NSCurrentLocaleDidChangeNotification to detect locale changes for dates, minor code reformatting.
(Full Revision History)
Build Requirements:
iOS SDK 6.0
Runtime Requirements:
iOS 6.0 or later

This sample code demonstrates efficiently parsing and importing data from an XML RSS feed into Core Data. The feed is from iTunes Top Songs and contains data about songs, artists, and categories. The application's data model has an entity for Song and for Category. Managed objects are inserted into a managed object context on a background thread, so the application remains responsive to the user while the import is taking place.