Skip to content

Instantly share code, notes, and snippets.

@dheerajn
Last active September 15, 2021 22:44
Show Gist options
  • Save dheerajn/2a98c18cd22b440da9968309a9f5262f to your computer and use it in GitHub Desktop.
Save dheerajn/2a98c18cd22b440da9968309a9f5262f to your computer and use it in GitHub Desktop.
struct ContentView: View {
var body: some View {
List {
Group {
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world! - 10")
}
Group {
Text("Hello, world!")
Text("Hello, world!")
Text("Hello, world!")
}
}
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment