Type Safely

Type Safely

Create a Table Using The New TableColumn In SwiftUI

Daily Coding Tips 121

Millie Sturgeon's avatar
Millie Sturgeon
Jul 01, 2022
∙ Paid
Image by tonlonkhu from Pixabay

Here’s a quick way to start using Table in SwiftUI

This code makes use of a structure conforming to Identifiable that stores two strings, which will be useful for displaying in a Table with two columns.

To make things interesting, I made it so that data can be added to the table by the user.

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture