RootPicker
struct RootPicker: View
SwiftUI View with a Picker to select a Root value
-
The binding to the observable state of the scene
Declaration
Swift
var sceneState: SceneStateModel -
Bool to show the ‘all’ option
Declaration
Swift
let showAllOption: Bool -
Bool to hide the flats
Declaration
Swift
let hideFlats: Bool -
The body of the
ViewDeclaration
Swift
var body: some View -
Root notes to show
Declaration
Swift
var cases: [Chord.Root]
View on GitHub