How to create UITableView in SwiftUI ?

Mengjiao Yang
swiftui basics
Published in
Dec 14, 2020

Introduce

How to create a list of content in SwiftUI? Unlike UIKit where we use UITableView . In SwiftUI we use “List”

What You will learn

Use “List” to create a tableview like below:

Let’s coding

Tips

When the “List” is made up of entirely dynamic rows, so we could write “List” use the other way.

--

--