2020-02-29a few seconds read (About 34 words)How to use Picker with enum in SwiftUIIssue #611 1234567891011enum WindowPosition: String, CaseIterable { case left case top case bottom case right}Picker(selection: $preference.position, label: Text("Position")) { ForEach(WindowPosition.allCases, id: \.self) { Text($0.rawValue) }}#swift