TopSongs

Last Revision:
Version 1.3, 2011-11-02
Upgraded to iOS 5.0, fixed an autorelease pool management bug.
(Full Revision History)
Build Requirements:
iOS SDK 5.0
Runtime Requirements:
iOS 4.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.


Did this document help you? Yes It's good, but... Not helpful...