Song
struct Song: Equatable, Codable
The structure of a song as shown in Chord Provider
-
The ID of the song
Declaration
Swift
var id: UUID
-
The total lines of the song
Declaration
Swift
var lines: Int = 0
-
The settings for the
Song
in the DocumentDeclaration
Swift
var settings = AppSettings.Song()
-
The metadata about the
Song
Declaration
Swift
var metadata = Metadata()
-
An array of defined directives that only should be set once
Note
Used in the directive menus to disable once only directivesDeclaration
Swift
var definedMetaData: [ChordPro.Directive] = []
-
The sections of the song
Declaration
Swift
var sections = [Song.Section]()
-
The chords of the song
Declaration
Swift
var chords: [ChordDefinition] = []
-
Structure for metadata about the song
See moreDeclaration
Swift
struct Metadata: Equatable, Codable
-
Declaration
Swift
struct Section: Identifiable, Equatable, Codable