This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct MainView: View { | |
| var body: some View { | |
| ScrollView { | |
| HStack { | |
| Spacer() | |
| Text("ScrollView Content") | |
| .multilineTextAlignment(.center) | |
| .foregroundColor(.white) | |
| .background(Color.blue.brightness(0.2)) | |
| Spacer() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension DateFormatter { | |
| static var exifDateFormatter: DateFormatter = { | |
| let formatter = DateFormatter() | |
| formatter.dateFormat = "yyyy':'MM':'dd' 'HH':'mm':'ss'.'SSS" | |
| formatter.locale = Locale(identifier: "en_US_POSIX") | |
| formatter.timeZone = TimeZone.current | |
| return formatter | |
| }() | |
| } |
NewerOlder