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 ...
Get Test-Driven iOS Development 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.