ChordDisplayOptions
public final class ChordDisplayOptions
An Observable
Class with SwiftUI elements
This class contains SwiftUI Toggles and Pickers you can add to your application to change the appearance of the chord diagrams.
-
Init the Class with optional defaults
Declaration
Swift
public init(defaults: ChordDefinition.DisplayOptions? = nil)
-
All the
DisplayOptions
Declaration
Swift
public var displayOptions: ChordDefinition.DisplayOptions
-
All the values of a
ChordDefinition
Note
Used for editing a chordDeclaration
Swift
public var definition: ChordDefinition
-
SwiftUI
See moreButton
to play the chord with MIDIDeclaration
Swift
public struct PlayButton: View
-
SwiftUI
View
with aPicker
to select adisplay
valueDeclaration
Swift
public var displayRootPicker: some View
-
SwiftUI
View
with aPicker
to select adisplay
valueDeclaration
Swift
public var displayQualityPicker: some View
-
SwiftUI
Picker
to select a MIDIInstrument
valueDeclaration
Swift
public var midiInstrumentPicker: some View
-
SwiftUI
See morePicker
to select a MIDIInstrument
valueDeclaration
Swift
struct MidiInstrumentPicker: View
-
SwiftUI
Picker
to select aInstrument
valueDeclaration
Swift
public var instrumentPicker: some View
-
SwiftUI
See morePicker
to select aInstrument
valueDeclaration
Swift
struct InstrumentPicker: View
-
SwiftUI
View
with aPicker
to select aRoot
valueDeclaration
Swift
public var rootPicker: some View
-
SwiftUI
View
with aPicker
to select aQuality
valueDeclaration
Swift
public var qualityPicker: some View
-
SwiftUI
View
with aPicker
to select abaseFret
valueDeclaration
Swift
public var baseFretPicker: some View
-
SwiftUI
See moreView
with aPicker
to select abaseFret
valueDeclaration
Swift
struct BaseFretPicker: View
-
SwiftUI
View
with aPicker
to select aRoot
value as bass noteDeclaration
Swift
public var bassPicker: some View
-
SwiftUI
View
with aPicker
to selectfret
valuesDeclaration
Swift
public var fretsPicker: some View
-
SwiftUI
See moreView
with aPicker
to selectfret
valuesDeclaration
Swift
struct FretsPicker: View
-
SwiftUI
View
with aPicker
to selectfinger
valuesDeclaration
Swift
public var fingersPicker: some View
-
SwiftUI
See moreView
with aPicker
to selectfinger
valuesDeclaration
Swift
struct FingersPicker: View
-
SwiftUI
View
with aToggle
to show or hide the name on the diagramDeclaration
Swift
public var nameToggle: some View
-
/ SwiftUI
See moreView
with aToggle
to show or hide the name on the diagramDeclaration
Swift
struct NameToggle: View
-
SwiftUI
View
with aToggle
to show or hide the fingers on the diagramDeclaration
Swift
public var fingersToggle: some View
-
SwiftUI
See moreView
with aToggle
to show or hide the fingers on the diagramDeclaration
Swift
struct FingersToggle: View
-
SwiftUI
View
with aToggle
to show or hide the notes on the diagramDeclaration
Swift
public var notesToggle: some View
-
SwiftUI
See moreView
with aToggle
to show or hide the notes on the diagramDeclaration
Swift
struct NotesToggle: View
-
SwiftUI
View
with aToggle
to mirror the diagramDeclaration
Swift
public var mirrorToggle: some View
-
SwiftUI
See moreView
with aToggle
to mirror the diagramDeclaration
Swift
struct MirrorToggle: View
-
SwiftUI
View
with aToggle
to show or hide the play buttonDeclaration
Swift
public var playToggle: some View
-
SwiftUI
See moreView
with aToggle
to show or hide the play buttonDeclaration
Swift
struct PlayToggle: View