You can watch this episode by subscribing to Cocoacasts Plus.

Building a Sign In Form Using SwiftUI

Authenticating the User

With the view and the view model in place, we can authenticate the user. In this episode, you learn how to authenticate a user using the URLSession API and basic authentication.

Instant and Unlimited Access
to 500+ Cocoacasts Tutorials


$19 / month

Pay Once a Month
30 Day Money Back Guarantee


$8.25 / month (billed annually)

Pay Once a Year and Save $129
30 Day Money Back Guarantee