← All projects · Dev Tools

Auth Starter Code (SwiftUI)

Starter code for Firebase's Email Authentication and SwiftUI

  • Code on GitHub

Last updated March 2024

Auth Starter Code (SwiftUI) screenshot 1

Overview

  • This is a more modern and SwiftUI version of my UserAuth-Starter that uses Swift’s new way of handling concurrencies async await
  • It also handles many errors like requiring reauthentication before making account changes
  • This also have a way to log in using username, forget password, and a remember me feature
  • And so much more

AuthenticationView

Log In via email or username

Sign Up with email and password

Finish Onboarding with username and profile picture

Reset password

AccountView

Viewing account info

Editing account info

Reauthenticating account

Deleting account

Updating account’s password

Set up

  1. Download repo
  2. Download Swift Packages by going to File -> Add Packages and paste the links below