XMLPerformance

Last Revision:
Version 5.0, 2015-09-16
Replaced NSURLConnection with NSURLSession, updated xib files to storyboard, added launch screen, changed super class of ParserChoiceController and StatsViewController to UITableViewController.
(Full Revision History)
Build Requirements:
Xcode 7, iOS 9.0 SDK
Runtime Requirements:
iOS 8.0 or later

This sample explores two approaches to parsing XML, focusing on performance with respect to speed, memory footprint, and user experience. The XML data used is the current "Top 300" songs from the iTunes store. The data itself is not particularly important to the sample - it was chosen because of its simplicity, availability, and because the size (approximately 850KB) is sufficient to demonstrate the performance issues central to the sample.