Join Saul Mora for an in-depth discussion in this video What you should know, part of Advanced iOS Development: Working with APIs.
- [Instructor] This course will start with the basic elements of working with the networking layer on your iOS application. However, there are a few things that will help you to follow along with the course. First, you should have a good working knowledge of the standard iOS IDE Xcode, and good understanding of the Swift programming language will help you throughout this course. While most of the code presented in this course will be easy to follow, there may be a few areas that some might consider advanced. Also, we'll be talking about data primarily as it relates to HTTP services, and it might be a good idea to know a little bit about the HTTP standard.
We'll be using terms like headers, method, POST bodies, and status codes in relation to HTTP. And lastly, the key to any good networking implementation is an understanding of basic asynchronous programming. We won't be going into any detail about handlers and queues, but we will make use of them from time to time. Great, now let's get started learning how to work with data on iOS.
- Requesting data from an HTTP server
- Parsing with JSON
- Decoding JSON
- Parsing data with XML
- Loading data a page at a time to avoid HTTP errors
- Error handling
- Loading and caching image data