Join Bill Weinman for an in-depth discussion in this video Understanding the parsing process, part of iOS SDK and SQLite: Building Data-Driven Apps (2013).
- View Offline
- Exercise Files
XML is one of the most common formats for raw data on the Internet today.…It's used for XHTML, SOAP, RSS, and many other data delivery applications.…The iOS SDK provides a powerful event driven XML Parser, like many iOS Services, it's event…driven, and it works with the delegate protocol.…The parsing process can take some time, so we use a separate execution thread for it.…This allows the application to continue to respond to touch events, while the parsing…takes place in the background.…
This provides a better user experience as it keeps the application from seeming unresponsive.…Before we can parse the XML, we need to get it from the network using the NSURLConnection Class.…As we get the data from the network, we'll be displaying the activity indicator in the status bar.…This gives the user some feedback so they know that something is happening and data is coming.…Using the Activity Indicator is not an excuse to block User Input.…The user must still be able to use the app.…They will expect the user interface to still respond to input.…
- Prototyping the app
- Coding and working with a testbed
- Creating an Objective-C interface for SQLite
- Designing a database schema
- Creating the view controllers
- Reading and writing to the database
- Parsing the RSS feed with NSXMLParser
- Updating the item view with feed items
- Implementing the pull to refresh gesture for iOS 6
- Creating a universal application with multiple views
Skill Level Intermediate
1. An iOS Testbed
2. Building a Database Library
Understanding SQLite in iOS1m 41s
3. Creating the Table View App
4. Parsing XML Data
5. Using a Modal View
6. The Web View Controller
7. Creating a Preferences Pane
8. Adding a Feature
9. Creating a Universal Application
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.