Hi! One of my main frustrations with SwiftUI last WWDC was the apparent lack of a View allowing for multiple selections. This year's "Stacks, Grids and Outlines in SwiftUI" Session even shows a brief snippet with
In short: how should one use Picker or go about creating another view which would allow multiple selections? To stay in the Sandwiches theme of this year's apps: how would one create a Picker allowing selection of multiple ingredients from a list?
Code Block @Binding private var selection: Set<String>
which would indicate the possibility of multiple selections with a Picker view in SwiftUI. However the sample code for the app presented there is not available...In short: how should one use Picker or go about creating another view which would allow multiple selections? To stay in the Sandwiches theme of this year's apps: how would one create a Picker allowing selection of multiple ingredients from a list?