28Bonjour and Web Servers

In this chapter, you’re going to start an exercise involving two applications:

  • a Desktop web server (CocoaServer)
  • an iOS client application (Notified)

You will create both applications and have them discover each other using Bonjour. You will also enable them to communicate via HTTP. In the next chapter, you will add the ability to send push notifications from the Desktop server to the iOS client. (That’s why our client application is called Notified.)

This is ambitious stuff. There is a lot of code and information in the next two chapters. You will need to keep track of separate projects in Xcode for the server and client. We’ll do our best to keep everything clear. Stick with us, and the results will be worth it. ...

Get iOS Programming: The Big Nerd Ranch Guide, Second Edition 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.