How to programatically select row in List in SwiftUI
List has a selection parameter where we can pass selection binding. As we can see here selection is of type optional Binding<Set<SelectionValue>>? where SelectionValue is any thing conforming to Hasable

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)

public struct List<SelectionValue, Content> : View where SelectionValue : Hashable, Content : View {

@available(watchOS, unavailable)

public init(selection: Binding<Set<SelectionValue>>?, @ViewBuilder content: () -> Content)

So we can programatically control selection by tagging row with our own Tag
['Khoa Pham']
['Select', 'Swiftui', 'List', 'iOS', 'Macos']