O'Reilly logo

RubyMotion by Clay Allsopp

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 7Example: Writing an API-Driven App

It’s time for the main event. We’re going to put together everything we know about iOS development and write a complete app. This chapter will introduce only one topic we haven’t covered yet: sending and receiving information from the Internet via HTTP. Nowadays most software needs to communicate to an external service in some way, so this example is highly relevant to whatever you try to build. Since this isn’t a book on iOS design, we might not wind up with the prettiest software on a device, but it will do everything we need.

We’re going to build a mobile app for the Colr JSON API (http://www.colr.org/api.html). Our users can type in a color hex code (i.e., #3B5998) and then see what tags Colr ...

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