RiValT_AppDelegate
@main
@MainActor
class RiValT_AppDelegate : UIResponder, UIApplicationDelegate
This is the app delegate for the main app.
-
Accessor for this instance
Declaration
Swift
@MainActor static var appDelegateInstance: RiValT_AppDelegate? -
This contains the iOS app instance of the Watch Delegate class.
“There can only be one.” - Connor MacLeod
Declaration
Swift
@MainActor var watchDelegate: RiValT_WatchDelegate -
This is the shared timer model instance. We get it from the Watch Delegate instance.
Declaration
Swift
@MainActor var timerModel: TimerModel { get } -
Easy access to the root-level nav controller (the multi-timer Group Editor Screen).
Declaration
Swift
@MainActor weak var groupEditorController: RiValT_GroupEditor_ViewController? -
Called when the application has set up, and is preparing to “go live.”
Declaration
Swift
@MainActor func application(_ inApplication: UIApplication, didFinishLaunchingWithOptions: [UIApplication.LaunchOptionsKey : Any]?) -> BoolParameters
inApplicationThe application instance that this is delegated to (ignored).
didFinishLaunchingWithOptionsThe launch options (ignored)
Return Value
True (all the time).
-
This updates the stored timer model.
Declaration
Swift
@MainActor func updateSettings()
-
Returns a new scene configuration.
Declaration
Swift
@MainActor func application(_ inApplication: UIApplication, configurationForConnecting inConnectingSceneSession: UISceneSession, options inOptions: UIScene.ConnectionOptions) -> UISceneConfigurationParameters
inApplicationThe application instance that this is delegated to (ignored).
inConnectingSceneSessionThe session we’re generating a scene for.
inOptionsThe connection options (ignored).
Return Value
A new scene configuration for the session.
View on GitHub