NSURLSession is one of the greatest APIs that has been added to the iOS framework and is to be used in setting up connections between the app and the backend, and fetching contents from your server. In this section, we will talk in details (but not boring detail) about
NSURLSession: how to deal with it, and what kind of tasks it can do. We will build a demo project for this chapter and, in each section, we will add a feature related to the topic in the project.
With Apple, by default,
NSURLSession supports the following URL schemes: