Chapter 5. Apple High-level Networking

In this chapter, we will cover:

  • Performing HTTP(S) synchronous GET requests
  • Performing HTTP(S) synchronous POST requests
  • Performing HTTP(S) asynchronous GET requests
  • Performing HTTP(S) asynchronous POST requests
  • Parsing an RSS feed with NSXMLParser, NSURL, and NSData
  • Creating a peer-to-peer bluetooth network

Introduction

In the previous chapters, we covered a variety of libraries and APIs designed to give us low-level access to the network interfaces. These libraries and APIs are designed to give developers great flexibility in how devices communicate over the network. While this flexibility and control is nice to have, there are times when we want to communicate using standard protocols and do not want to spend ...

Get iOS and OS X Network Programming Cookbook 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.