Classes

The following classes are available globally.

Main App and Scene Delegate Class

  • The main app/scene delegate (I combine them).

    See more

    Declaration

    Swift

    @UIApplicationMain
    class RVS_AmbiaMara_AppSceneDelegate : UIResponder
    extension RVS_AmbiaMara_AppSceneDelegate: UIApplicationDelegate
    extension RVS_AmbiaMara_AppSceneDelegate: UIWindowSceneDelegate

Persistent Settings Class

  • This class stores our timer settings as app persistent storage.

    See more

    Declaration

    Swift

    class RVS_AmbiaMara_Settings : RVS_PersistentPrefs

About AmbiaMara Screen View Controller

Base Class View Controller

  • This is a base class that provides a background gradient, and “watermark” image. It should be the base for all screens.

    See more

    Declaration

    Swift

    class RVS_AmbiaMara_BaseViewController : UIViewController

Running Timer View Controller

  • This is the view controller for the running timer screen.

    See more

    Declaration

    Swift

    class RVS_RunningTimerAmbiaMara_ViewController : UIViewController
    extension RVS_RunningTimerAmbiaMara_ViewController: RVS_BasicGCDTimerDelegate

Set Audible and Visual Alarm Popover View Controller

  • This is the view controller for the alarm setup popover.

    See more

    Declaration

    Swift

    class RVS_SetAlarmAmbiaMara_PopoverViewController : UIViewController
    extension RVS_SetAlarmAmbiaMara_PopoverViewController: UIPickerViewDataSource
    extension RVS_SetAlarmAmbiaMara_PopoverViewController: UIPickerViewDelegate
    extension RVS_SetAlarmAmbiaMara_PopoverViewController: UIPickerViewAccessibilityDelegate
    extension RVS_SetAlarmAmbiaMara_PopoverViewController: AVAudioPlayerDelegate

About AmbiaMara Screen View Controller

Initial View Controller

  • This is the view controller for the setup screen, where the timer is set, and started.

    See more

    Declaration

    Swift

    class RVS_SetTimerAmbiaMara_ViewController : RVS_AmbiaMara_BaseViewController
    extension RVS_SetTimerAmbiaMara_ViewController: UIPickerViewDataSource
    extension RVS_SetTimerAmbiaMara_ViewController: UIPickerViewDelegate
    extension RVS_SetTimerAmbiaMara_ViewController: UIPickerViewAccessibilityDelegate
    extension RVS_SetTimerAmbiaMara_ViewController: UIPopoverPresentationControllerDelegate