-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathMyApp.swift
39 lines (37 loc) · 1.04 KB
/
MyApp.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import CoolUI
import EmbraceIO
import GoogleSignInSwift
import IterableSDK
import MoreCoolUI
import RecaptchaEnterprise
import SDWebImageSwiftUI
import SwiftUI
@main
struct MyApp: App {
init() {
do {
try Embrace
.setup(options: embraceOptions)
.start()
} catch let err {
print("Error starting Embrace \(err.localizedDescription)")
}
}
var body: some Scene {
WindowGroup {
VStack {
CoolStuff.title()
CoolStuff.image().resizable()
MoreCoolStuff.title()
MoreCoolStuff.image().resizable()
WebImage(url: URL(string: "https://nokiatech.github.io/heif/content/images/ski_jump_1440x960.heic"))
.resizable()
.aspectRatio(contentMode: .fit)
// Ensure that Google sign-in can find its resources.
GoogleSignInButton {
print("Signing in")
}
}
}
}
}