I am a beginner in SwiftUI. I try to find some new way to build a page same as UITableView.
Some said that List does reuse its cell, but I tried these following code than make the app so laggy.
So, the only way to interacting TableView is use representable ?
struct TestView: View {
var body: some View {
NavigationView {
List {
ForEach(0..<1000000, id: \.self) { key in
Text("\(key)")
}
}
}
}
}