How to: Add Firebase-auth to SwiftUI 2 (2020)

You may noticed that the new version of SwiftUI removed AppDelegate file. And here’s a solution and quick demo for you.

One Step Only

Just simply copy the files into your project.

--

--

--

 WWDC Award Winner | Software Engineer, Github Developer, UI/UX Design | Contact: hi@1998.media | Website: 1998.media

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Creating a fully transparent UITabBar in Swift

How to make protocol work in SwiftUI

SwiftUI: Fix Weird Text Animation with one line of code.

How Apple Screwed Up SwiftUI and Core Data Together

Implementing iOS Collection View with Efficient Rendering Mechanism

Writing Flexible View Models

UICollectionView and UICollectionViewDiffableDataSource

Swift Combine: first() operator, return only a single value!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
MING

MING

 WWDC Award Winner | Software Engineer, Github Developer, UI/UX Design | Contact: hi@1998.media | Website: 1998.media

More from Medium

Animation&Motion in SwiftUI

Build a Flexible Picker With SwiftUI

SwiftUI: Text — Part 1

Firebase Authentication for Swift