Chapter 11. Where's My Data?

When building iOS apps, data can be the most important part. Typically, the apps you build require getting data from an online data source, known as an Application Programming Interface (API). In the previous chapters, we have only worked with a plist to supply our data. The plist bridges the gap to understanding how to work with an API, as you will see shortly. In this chapter, we will work with an API that is in JavaScript Object Notation (JSON) format. This format is common no matter which backend service was used to create the JSON. In this chapter, we will cover:

  • What a JSON file is and the different components of this data feed
  • Passing data using segues
  • What extensions are and how to use them to clean up your code ...

Get iOS 10 Programming for Beginners 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.