Mercurial > public > lazybear
comparison LazyBearWatchOS Extension/ContentView.swift @ 452:bb69f9d1d20f
Implement HomeView in WatchOS
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sat, 26 Jun 2021 18:45:31 +0200 |
parents | 8621ba6fd457 |
children | b560babcd5ed |
comparison
equal
deleted
inserted
replaced
451:bb130738b816 | 452:bb69f9d1d20f |
---|---|
8 import SwiftUI | 8 import SwiftUI |
9 | 9 |
10 struct ContentView: View { | 10 struct ContentView: View { |
11 var body: some View { | 11 var body: some View { |
12 VStack { | 12 VStack { |
13 ForEach((1..<4)) { _ in | 13 HomeView() |
14 Text("Hello") | |
15 } | |
16 .navigationTitle("Lazybear") | |
17 } | 14 } |
15 .navigationTitle("Lazybear") | |
18 } | 16 } |
19 } | 17 } |
20 | 18 |
21 struct ContentView_Previews: PreviewProvider { | 19 struct ContentView_Previews: PreviewProvider { |
22 static var previews: some View { | 20 static var previews: some View { |