O'Reilly logo

Professional iOS Database Application Programming, 2nd Edition by Patrick Alessi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10

Working with XML on the iPhone

WHAT’S IN THIS CHAPTER?

  • Creating HTTP requests and receiving responses
  • Understanding XML and how to use it in your applications
  • Parsing XML to obtain the data that you need
  • Using an external C library with your iOS SDK applications
  • Generating XML using the libxml library

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118391845 on the Download Code tab. The code is in the Chapter 10 download and individually named according to the names throughout the chapter.

In Part I of the book, you learned how to get data out of an enterprise database and store it on an iOS device with SQLite. You also learned how to display data on the device using the UITableView and customized UITableViewCell objects. In Part II, you learned how to create and manage data on iOS using Core Data. In this section, you learn how you can get your data off the device and into another system using XML and web services.

This chapter lays the groundwork for working with web services by showing you how to send data over the web using the HTTP protocol and how to deal with the returned data in XML format.

You learn how to communicate with external servers over the web and how to deal with the response from a web server. I cover the Cocoa classes to be used in the following chapter for working with web services.

IOS SDK AND THE WEB

This section provides a quick refresh of the architecture of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required