Last active
June 9, 2022 21:48
-
-
Save meyusufdemirci/56adaaed790338680e39003cf45b02da to your computer and use it in GitHub Desktop.
What is New in SwiftUI, WWDC 22 Article
This file contains 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
var body: some View { | |
VStack { | |
VStack { | |
Image(systemName: "person") | |
} | |
.background(in: Circle().inset(by: -20)) | |
.backgroundStyle(.orange.gradient) | |
.foregroundStyle(.white.shadow(.drop(radius: 1))) | |
VStack { | |
Image(systemName: "house") | |
} | |
.background(in: RoundedRectangle(cornerRadius: 16).inset(by: -20)) | |
.backgroundStyle(.orange.gradient) | |
.foregroundStyle(.white.shadow(.inner(radius: 1))) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment