Geek Culture
Published in

Geek Culture

Modelling an optional attribute with SwiftUI pickers

How to express “none of the above” without reaching for custom code

How SwiftUI’s picker can look when used in the context of an iOS form

The Picker in SwiftUI is an incredibly versatile view designed to allow the user to a pick from a list of discrete values. Depending on the platform you’re using, those values can be presented in a scrollable wheel, as a web-style dropdown, a segmented list, or…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Scott Matthewman

Scott Matthewman

Scott is a software developer during the day and a theatre critic & director of an evening. Which is the worst superhero identity ever.