Document Revision History

This table describes the changes to Using NSXMLParser to parse XML documents.

2013-09-17Now uses NSURLConnection's sendAsynchronousRequest API, also uses NSCurrentLocaleDidChangeNotification to detect for locale changes.
2013-05-13Updated to use ARC and storyboards.
2010-08-18Now using NSOperation to perform the XML parsing.
2010-06-25Updated for and tested with iOS 4.0 SDK. Also updated artwork and added NSXMLParserDelegate protocol.
2010-04-28Proper formatting of dates, fixed earthquake reporting URLs due to changes in USGS page, removed unused frameworks, improved error reporting, now using KVO for table view updates.
2009-05-13Switched NSXMLParser to use initWithData: instead of initWithContentsOfURL: and implemented asynchronous NSURLConnection for download to give better control of network error handling. Consolidated parsing into app delegate for better handling of parse error callbacks and to avoid the design pattern of using the app delegate as a singleton for data access. Switched from custom UITableViewCell subclass to managing the layout with view tags to meet documented best practices. Modified Earthquake class to model numeric and date properties as numbers and dates instead of strings and merged string parsing code into the XML parsing code. Added use of the lat/lon data for opening Maps link.
2008-07-03First public release.