EditView
struct EditView: View
SwiftUI View to edit the database
-
The chord we want to edit or the chord as starting point to add
Declaration
Swift
let chord: ChordDefinition -
The
NSWindowof thisViewDeclaration
Swift
let window: NSWindow? -
The optional flat chord when editing or adding a sharp chord
Declaration
Swift
var flatChord: ChordDefinition? -
The observable state of the scene
Declaration
Swift
private var sceneState -
The observable state of the chords database
Declaration
Swift
private var chordDatabaseState -
The body of the
ViewDeclaration
Swift
var body: some View -
The editor buttons
Declaration
Swift
var buttons: some View
View on GitHub