Getting data from JSON files

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.124.21