Section
struct Section: Identifiable
A section in the Song
-
The unique ID
Declaration
Swift
var id: Int
-
The optional label of the section
Declaration
Swift
var label: String = ""
-
The
Environment type
of the sectionDeclaration
Swift
var type: ChordPro.Environment = .none
-
The lines in the section
Declaration
Swift
var lines = [Line]()
-
Bool if the section is automatic created
Declaration
Swift
var autoCreated: Bool
-
Declaration
Swift
struct Line: Identifiable