ChordView
struct ChordView: View
SwiftUI View for a chord as part of a line
-
The display options
Declaration
Swift
let settings: AppSettings.Song -
The ID of the section
Declaration
Swift
let sectionID: Int -
The ID of the part
Declaration
Swift
let partID: Int -
The chord
Declaration
Swift
let chord: ChordDefinition -
The current color scheme
Declaration
Swift
var colorScheme -
The calculated ID of this
ViewDeclaration
Swift
var popoverID: String -
The color of a chord
Declaration
Swift
var color: Color -
The
popoverstateDeclaration
Swift
private var popover: String? -
The body of the
ViewDeclaration
Swift
var body: some View -
Get the diagram
Note
Diagrams are stored in a memory cache to improve performanceDeclaration
Swift
func getDiagram() -> some View
View on GitHub