Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Create a Table Using The New TableColumn In SwiftUI

Create a Table Using The New TableColumn In SwiftUI

Daily Coding Tips 121

Millie Sturgeon's avatar
Millie Sturgeon
Jul 01, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Create a Table Using The New TableColumn In SwiftUI
Share
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.

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share