Integrating Firebase into a SwiftUI project
Firebase is a mobile development platform that has several products that simplify the implementation of mobile apps. These apps need a backend for persistence, authentication, notifications, and more. A mobile developer can concentrate on implementing only the mobile app without worrying about implementing the cloud services needed to power their app.
Firebase has a native SDK for iOS and because it has been around for quite some time, is largely written in Objective-C, although it has some code written in Swift and even in SwiftUI. Google is making efforts to update the SDK and newer APIs are written in Swift and SwiftUI. Google even announced that starting on January 1, 2024, they will remove Objective-C code snippets from the official website and focus on Swift code snippets. At the time of this writing, the Firebase iOS SDK supports Objective-C, Swift, and SwiftUI. SwiftUI has some known issues documented on the official Firebase...