CHAPTER 16 EXERCISE SOLUTIONS
Answer to Question 1
The four ways are SOAP 1.1/1.2, HTTP GET, HTTP POST, and JSON.
Answer to Question 2
The three key events are as follows:
- connection:didReceiveResponse:
- connection:didReceiveData:
- connectionDidFinishLoading:
Answer to Question 3
The NSXmlParser class fires off the following events as it parses the content of an XML document:
- parser:didStartElement:namespaceURI:qualifiedName:attributes:
- parser:foundCharacters:
- parser:didEndElement:namespaceURI:qualifiedName:
Answer to Question 4
The class is TWTweetComposeViewController.
Get Beginning iOS 5 Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.