Last active
September 4, 2019 10:17
-
-
Save WildStudio/d52982f5e25840fd0e0cd9a3f510d8c1 to your computer and use it in GitHub Desktop.
Adding Spacing and alignment inside your SwiftUI stacks
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
HStack (spacing: 100) { | |
VStack { | |
Text("WAMF") | |
Text("Tutorial") | |
} | |
VStack(alignment: .trailing) { | |
Text("SwiftUI") | |
Text("Basics") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment