RiValT_Settings
class RiValT_Settings : RVS_PersistentPrefs
This class stores our timer settings as app persistent storage.
-
This is an enumeration that will list the prefs keys for us.
See moreDeclaration
Swift
enum Keys : String
-
Declaration
Swift
private static var _soundCache: [String]?
Return Value
An Array of Strings, representing the URIs of the sounds avaialable for alarms.
-
Declaration
Swift
private static var _transitionSoundCache: [String]?
Return Value
An Array of Strings, representing the URIs of the sounds avaialable for transition notifications.
-
This is used as a semaphore, indicating that this is the first time the app has entered the foreground.
Declaration
Swift
static var ephemeralFirstTime: Bool
-
Declaration
Swift
class var soundURIs: [String] { get }
Return Value
An Array of Strings, representing the URIs of the sounds avaialable for alarms.
-
Declaration
Swift
class var transitionSoundURIs: [String] { get }
Return Value
An Array of Strings, representing the URIs of the sounds avaialable for transition notifications.
-
If this is true, then going into the running timer screen starts the timer immediately. If false, then it starts as paused.
Declaration
Swift
var startTimerImmediately: Bool { get set }
-
If this is true, then the toolbar is shown at the top of the running timer.
Declaration
Swift
var displayToolbar: Bool { get set }
-
If this is true, then the toolbar (if in displayToolbar mode) will fade, after a few seconds of inactivity.
Declaration
Swift
var autoHideToolbar: Bool { get set }
-
If this is true (default), then tapping on any timer, will open its editor.
Declaration
Swift
var oneTapEditing: Bool { get set }
-
The keys (for determining storage).
Declaration
Swift
override var keys: [String] { get }
-
The timers, stored as a Dictionary (key is the ID).
Declaration
Swift
var timerModel: [[[String : any Hashable]]] { get set }