Networking With NSURLSession
In today’s connected environment, networking is a foundational part of most apps. With the latest Apple frameworks, you can easily handle networking in your app without third party frameworks. But even if you use one of the popular frameworks for networking in your app, it’s important to know how the code works. In this video series, you’ll learn about NSURLSession, how to configure it, and how to create NSURLSessionTask objects to manage a network request. You’ll learn how to communicate with the NSURLSession system by passing closures to the tasks or by using delegate methods and the advantages and disadvantages of each. While not a strict prerequisite, it will be helpful to understand how concurrency works in iOS. If you’re not familiar with this topic, check out the Introducing Concurrency video series. By Jerry Beers.
Find out what's covered in our Networking With NSURLSession video tutorial series.
Learn about NSURLSession and how to configure it.
Learn about NSURL, NSURLRequest, and NSURLResponse and how these classes are used in the process of a network request.
Learn how NSURLSessionTask has several subclasses that do the work of the network requests.
Learn how the NSURLSession system uses either delegate methods or closures to communicate progress and completion.
Learn how NSURLSession handles threading and how to control it if necessary.
Review what you learned in our Networking with NSURLSession video tutorial series and find out where to go from here.