O'Reilly logo

Test-Driven iOS Development by Graham Lee

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

7. Application Logic

Now that I can create and manipulate objects that the user cares about working with in BrowseOverflow, it’s time to think about hooking up with the real StackOverflow service so that the objects created in the app reflect the content of the site. This means going to the Stack Exchange API documentation at http://api.stackoverflow.com/1.1/usage and finding out how to consume their data.

Plan of Attack

According to the API documentation, StackOverflow has methods for requesting the questions in a topic, and the details for a question including the list of answers for that question. This does not validate the design for the domain model from Chapter 6, “The Data Model,” but indicates that because it’s a good fit for the data ...

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