Mercurial > public > lazybear
comparison LazyBearWatchOS Extension/ComplicationViews.swift @ 456:d576b2b59014
Starting WatchOS Complications
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Mon, 28 Jun 2021 12:51:06 +0200 |
parents | |
children | 57471e7bcf08 |
comparison
equal
deleted
inserted
replaced
455:b560babcd5ed | 456:d576b2b59014 |
---|---|
1 // | |
2 // ComplicationViews.swift | |
3 // LazyBearWatchOS Extension | |
4 // | |
5 // Created by Dennis Concepción Martín on 28/06/2021. | |
6 // | |
7 | |
8 import SwiftUI | |
9 import ClockKit | |
10 | |
11 // CIRCULAR SMALL COMPLICATIONS | |
12 // MARK: - Graphic | |
13 struct ComplicationGraphicCircular: View { | |
14 var body: some View { | |
15 Text("Hello") | |
16 } | |
17 } | |
18 | |
19 | |
20 // MARK: - Complications Preview | |
21 struct ComplicationViews_Previews: PreviewProvider { | |
22 static var previews: some View { | |
23 Group { | |
24 CLKComplicationTemplateGraphicCircularView(ComplicationGraphicCircular()) | |
25 .previewContext() | |
26 | |
27 } | |
28 } | |
29 } |