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.
Post
Replies
Boosts
Views
Activity
Dear Apple Engineers,
First of all, thank you for this wonderful and very necessary native solution.
Question: Is it possible to use this API when processing HLS?
Thank you.