Classes

The following classes are available globally.

The Persistent Prefs Subclass

  • This is the subclass of the preferences type that will provide our persistent app settings.

    See more

    Declaration

    Swift

    class CGA_PersistentPrefs : RVS_PersistentPrefs

The Base view controller Class

  • This class exists only to manage the background, navbar and logo image. If we are in Dark Mode, or High-Contrast Mode, we make the background darker (and possibly monochromatic), and reduce the prominence of the logo.

    See more

    Declaration

    Swift

    class CGA_BaseViewController : UIViewController

The Main App Delegate

  • This implements the main application delegate functionality.

    See more

    Declaration

    Swift

    @UIApplicationMain
    class CGA_AppDelegate : UIResponder
    extension CGA_AppDelegate: UIApplicationDelegate

Info View Controller

Preferences View Controller

Connected Peripheral View Controller

Discovery Details View Controller

Main Discovery View Controller

Connected Peripheral View Controller