Multi-Component Picker (UIPickerView) in SwiftUI
Updated answer in pure SwiftUI– in this example the data is of type String. Tested on Xcode 11.1 – may not work on previous versions. struct MultiPicker: View { typealias Label = String typealias Entry = String let data: [ (Label, [Entry]) ] @Binding var selection: [Entry] var body: some View { GeometryReader { geometry … Read more