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.