Last active
June 19, 2020 14:31
-
-
Save gahntpo/64532dfc10831a7e8722581bbdde2dbd to your computer and use it in GitHub Desktop.
simple example for VStack
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
import SwiftUI | |
struct StackExample: View { | |
var body: some View { | |
VStack { | |
Text("first item") | |
Text("second item") | |
Text("third item") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment