Skip to content

Instantly share code, notes, and snippets.

@fredriccliver
Created October 11, 2020 19:29
Show Gist options
  • Save fredriccliver/81f033eeb1615247c03a71bb6ef0224f to your computer and use it in GitHub Desktop.
Save fredriccliver/81f033eeb1615247c03a71bb6ef0224f to your computer and use it in GitHub Desktop.
import SwiftUI
import Firebase
@main
struct SpeechApp: App {
@UIApplicationDelegateAdaptor private var appDelegate: AppDelegate
var body: some Scene {
WindowGroup {
ContentView()
}
}
class AppDelegate: NSObject, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
FirebaseApp.configure()
return true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment