AppSettings
struct AppSettings: Equatable, Codable, Sendable
All the settings for the application
-
Settings that will change the behaviour of the application
Declaration
Swift
var application = Application()
-
The options for the
ChordProEditor
Declaration
Swift
var editor: Editor.Settings = .init()
-
ChordPro integration
Declaration
Swift
var chordPro: ChordPro = .init()
-
Options for displaying chord diagrams
See moreDeclaration
Swift
struct DiagramDisplayOptions: Equatable, Codable, Sendable
-
Settings for displaying a
See moreSong
Declaration
Swift
struct Song: Codable, Equatable
-
Options for displaying a song; unique for each scene
See moreDeclaration
Swift
struct SongDisplayOptions: Equatable, Codable, Sendable
-
Settings that will change the behaviour of the application
See moreDeclaration
Swift
struct Application: Codable, Equatable
-
ChordPro integration
See moreDeclaration
Swift
struct ChordPro: Codable, Equatable
-
Load the application settings
Declaration
Swift
static func load(id: AppStateModel.AppStateID) -> AppSettings
Parameters
id
The ID of the settings
Return Value
The
AppSettings
-
Save the application settings to the cache
Declaration
Swift
static func save(id: AppStateModel.AppStateID, settings: AppSettings) throws
Parameters
id
The ID of the settings
settings
The
AppSettings