O'Reilly logo

Cocoa Programming for OS X: The Big Nerd Ranch Guide by Aaron Hillegass, Adam Preble, Nate Chandler

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

RanchForecast Project

Big Nerd Ranch has a web service that delivers a JSON document of its upcoming classes. The URL of this web service is http://​bookapi.bignerdranch.com/​courses.json. In this exercise, you are going to write an application that requests this data from the web service, parses it, and displays the upcoming classes in a table view. The app will look like Figure 28.3. Before you get started, try opening the URL above in your web browser to get a feel for what your application will be dealing with.

Figure 28.3  Completed application

Completed application

Create a new project of type Cocoa Application. Name the project RanchForecast ...

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