-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContentView.swift
37 lines (34 loc) · 980 Bytes
/
ContentView.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
import SwiftUI
struct MainView: View {
var body: some View {
NavigationView {
VStack(spacing: 10) {
NavigationLink(destination: GradientButton(text: "iOS Brasil")) {
Text("GradientButton")
}
NavigationLink(destination: UserAvatar()) {
Text("UserAvatar")
}
NavigationLink(destination: CircleAnimation()) {
Text("CircleAnimation")
}
NavigationLink(destination: StopwatchView()) {
Text("StopwatchView")
}
NavigationLink(destination: MoviesList()) {
Text("MoviesList")
}
}
}
}
}
struct ContentView: View {
var body: some View {
MainView()
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}