Last active
May 13, 2020 03:48
-
-
Save karthironald/1b73e0a16dbaea2fbf0ea75339329ff7 to your computer and use it in GitHub Desktop.
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
struct ContentView: View { | |
static let names = ["name1", "name2", "name3", "name4", "name5", "name6"] | |
var body: some View { | |
List(ContentView.names, id: \.self) { name in | |
Text(name) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment