Similar to what you did in previous chapters, you will create a data manager class to load a file, read the data inside, and put it into objects in your app. The difference is that you will be reading a JSON file and not a .plist file. This will simulate reading data from an API, where JSON is a commonly used format. Let's start by learning more about APIs and how they work.
Getting data from JSON files
What is an API?
An API, in the context of this book, is a publicly available web-based service that returns data, likely in JSON or XML formats. Many iOS apps work with APIs to access JSON files, which are then used to provide the app with data. You will not be learning about how to connect to an API at this point. Instead...