Post

Replies

Boosts

Views

Activity

SwiftUI NavigationSplitView EditMode
Dear Apple Engineers / SwiftUI team! NavigationSplitView A correct navigation will be provided by List 'selection' parameter, however in case of editing (EditMode) it should be occupied by dynamic data collection set... How do you think to alternate between these two parameters? @EnvironmentObject private var router: Router @State private var selection: Set<String> = [] Navigation List(selection: $router.selectedItem) { ... } EditMode Active List(selection: $selection) { ... } Thanks in advance.
0
0
372
Apr ’23