Member-only story
Creating tables with Table in SwiftUI
Table is a table view control provided by SwiftUI 3.0 for macOS, allowing developers to quickly create interactive multi-column tables. In WWDC 2022, Table was extended to iPadOS, giving it more room to grow. This article will introduce how to use Table, analyze its characteristics, and how to achieve similar functionality on other platforms.
Stay ahead with the latest updates and deep insights on Swift, SwiftUI, Core Data, and SwiftData. Subscribe to Fatbobman’s Swift Weekly to get exclusive articles, tips, and curated resources delivered straight to your inbox every week.
For even more valuable content and in-depth tutorials, visit my blog at fatbobman.com — your go-to destination for all things Swift and Apple development.
List with row characteristics
In Table’s definition, there is a clear distinction between rows and columns. However, compared to SwiftUI’s grid containers (LazyVGrid, Grid), Table is essentially more similar to List. Developers can view Table as a list with column characteristics.