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
ChordProEditorDeclaration
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 moreSongDeclaration
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) -> AppSettingsParameters
idThe 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) throwsParameters
idThe ID of the settings
settingsThe
AppSettings
View on GitHub