When building iOS apps, data can be the most critical part. Typically, the apps you make require that you get 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. Using a 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 typical, no matter which backend service was used to create the JSON file.
In this chapter, we will cover the following topics:
- What a JSON file is and the different components of this data feed
- Passing data using segues