Mercurial > public > geoquiz
annotate GeoQuiz/Components/ActivityAlertHelper.swift @ 15:f1967f8cc67b
first iteration of core data
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Wed, 19 Oct 2022 10:04:17 +0200 |
parents | bdfff35dd43c |
children |
rev | line source |
---|---|
13 | 1 // |
2 // ActivityAlertHelper.swift | |
3 // GeoQuiz | |
4 // | |
5 // Created by Dennis Concepción Martín on 12/10/22. | |
6 // | |
7 | |
8 import SwiftUI | |
9 | |
10 struct ActivityAlert: View { | |
11 var body: some View { | |
12 VStack(spacing: 10) { | |
13 ProgressView() | |
14 Text("Loading") | |
15 } | |
16 .padding() | |
17 .background(.regularMaterial) | |
18 .cornerRadius(10) | |
19 } | |
20 } | |
21 | |
22 struct ActivityAlert_Previews: PreviewProvider { | |
23 static var previews: some View { | |
24 ActivityAlert() | |
25 } | |
26 } |