This is part of the iOS Data and Networking learning path. View Path.
Who is this for?
Intermediate developers. You should be comfortable with the Swift programming language.
You’ll start by uploading data, then you’ll learn how to make background network requests. Later, you’ll learn how to work with sockets, how to make authenticated requests, and about App Transport Security.
Finaly, you’ll learn how to work with cookies.
- Uploading Files
- Background Downloads
- App Transport Security
Part 1: Upload Data, Background Downloads & WebSockets
Introduction to the Advanced Networking with URLSession course.
Learn about Vapor, the open-source server written in Swift, and how to install it locally for the next episode.
Learn how to upload data to your local Vapor instance.
Learn about background tasks and how to use one to handle background events.
Provide viewers with an overview of BSD sockets and explain how Apple’s networking framework works.
Connect to a WebSocket
Use the WebSocket task to connect to a local Vapor server in order to send messages in real-time. You will, essentially, create a very small and simple chat server.
Wrap up the first part of the course and review the learned contents.
Part 2: Authentication, Cookies & App Transport Security
Introduction to part 2 of the Advanced Networking with URLSession course.
Learn about the different ways to authenticate, and provide authentication, when working with URLSession.
iOS tends to be quite strict when it comes to security, specially when making network requests. Learn about App Transport Security and how it can affect your network requests.
Work With Cookies
Learn about cookies and their role in networking. You’ll also work with cookies.
In this challenge, you’ll use the knowledge gained in the previous episode to print not just one, but all of the cookies available to you from your request.
Wrap up the course and review the learned contents.