In a few of the tutorials here, we have used URLSession to download data. Rather than skip over it as something that is used as part of a project, I thought I best create a tutorial on how to use it so that you can grasp what it is and what it is doing, as well as what else can be done with it.
URLSessions are useful for various reasons which include communicating with an external server to download large datasets, sending information to a server, particularly a backend service or image upload service, and many more uses. URLSession is the built in way of coordinating network data transfer tasks.
[Read more…]