You could do it using the below.
Table(items) {
TableColumn("Name") { item in
Text(item.name ?? "Default Value")
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: