Introduction to RestKit Tutorial

Learn how to obtain data from Foursquare’s venues API and display it in a table in this RestKit tutorial. By .

Leave a rating/review
Save for later
Share
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where to Go From Here?

Here is a example project with all of the code from the above tutorial.

Here is list of what you have done:

  • An introduction to UITableView using the Master-Detail Application template.
  • RestKit installation and configuration for your app.
  • Foursquare configuration for your app and an introduction to their Venues API.
  • Created data models for your app.
  • Setup RestKit mappings so that it can request, receive and parse the data into your data model.
  • Created a custom table view cell to display the Foursquare data.

Here is what you did not do:

  • Setup and use NSURLConnections or NSURLConnectionDelegates.
  • Parse JSON or XML data.
  • Map the JSON or XML responses to your own objects.

Because RestKit handled all of this for you! Not bad, eh?

From here, feel free set up Foursquare user authentication to gain full access to Foursquare’s API and extend this example with even more features, or find other web services that you can use RestKit to provide data for your app.

I hope you enjoyed this tutorial, and if you have any questions on it or RestKit in general, please join the forum discussion below!


This is a post by iOS Tutorial Team Member Scott McAlister, an iOS developer at Flat World Knowledge.