0
|
1 //
|
|
2 // GeoQuizApp.swift
|
|
3 // GeoQuiz
|
|
4 //
|
|
5 // Created by Dennis Concepción Martín on 4/9/22.
|
|
6 //
|
|
7
|
|
8 import SwiftUI
|
11
|
9 import RevenueCat
|
0
|
10
|
|
11 @main
|
|
12 struct GeoQuizApp: App {
|
16
|
13 @StateObject private var persistenceController = PersistenceController()
|
11
|
14
|
|
15 init() {
|
|
16 Purchases.configure(withAPIKey: "appl_BymTxroeoaWiXAraaFjcPlHlqbf")
|
|
17 }
|
|
18
|
0
|
19 var body: some Scene {
|
|
20 WindowGroup {
|
|
21 ContentView()
|
16
|
22 .environment(\.managedObjectContext, persistenceController.container.viewContext)
|
0
|
23 }
|
|
24 }
|
|
25 }
|