Remove deprecation warnings for Xcode beta4

This commit is contained in:
John Holdsworth
2019-07-28 12:10:01 +01:00
parent 57e72ec52c
commit 7af0a711da
40 changed files with 63 additions and 61 deletions

View File

@@ -17,7 +17,7 @@ struct ContentView: View {
Text("Learning SwiftUI")
.font(.largeTitle)
.fontWeight(.semibold)
.color(.black)
.foregroundColor(.black)
.padding(4)
.animation(.basic(duration: 0.3, curve: .easeOut))
@@ -33,7 +33,7 @@ struct ContentView: View {
Text("A course focused on UI")
.font(.subheadline)
.fontWeight(.regular)
.color(.gray)
.foregroundColor(.gray)
.padding(4)
.animation(.basic(duration: 0.4, curve: .easeIn))