Skip to content

Instantly share code, notes, and snippets.

@peterfriese
Forked from haIIux/MediumArticleApp.swift
Last active March 2, 2022 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterfriese/bc0b3fd3bcc1b5c36c630c249251cbce to your computer and use it in GitHub Desktop.
Save peterfriese/bc0b3fd3bcc1b5c36c630c249251cbce to your computer and use it in GitHub Desktop.
Firebase Initialization - Swift
import SwiftUI
import Firebase
@main
struct MediumArticleApp: App {
init() {
FirebaseApp.configure()
}
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment