Post

Replies

Boosts

Views

Activity

Comment on SwiftUI Table with copy
Unfortunately, that doesn't fix the problem. I tried:      Table(records, selection: $selectedRecordIDs) {      TableColumn("Timestamp", value: \.timestamp.description)      TableColumn("Message", value: \.message)       .width(ideal: columnWeight.message * geometry.size.width)     }     .focusable()     .onCopyCommand {      [NSItemProvider(item: "Hello, World!" as NSString, typeIdentifier: UTType.plainText.identifier)]     } Copy still doesn't get enabled. Note that the rows are selectable, but when selecting rows, I still can't copy.
May ’22