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 Main Application Delegate

  • Declaration

    Swift

    @NSApplicationMain
    class MacOS_AppDelegate : NSObject, NSApplicationDelegate
    extension MacOS_AppDelegate: CGA_BlueThoth_Delegate

Special iOS-Style Scroller

  • This overrides the draw(_:) method, to ensure that only the “knob” gets drawn.

    See more

    Declaration

    Swift

    class MacOS_TransparentScroller : NSScroller

The Base (Common) View Controller Class

  • This class provides some common tools for all view controllers.

    See more

    Declaration

    Swift

    class MacOS_Base_ViewController : NSViewController

Basic Split View Component Window Controller Class

The Split Screen View Controller

  • This is the first screen to come up, and contains all the other screens.

    See more

    Declaration

    Swift

    class MacOS_SplitViewController : NSSplitViewController

The About Screen View Controller

The Preferences Screen View Controller

The Characteristic Screen View Controller

Button With Attached Discovery Data

  • This is a subclass of the standard button class, allowing us to attach a device discovery record.

    See more

    Declaration

    Swift

    class MacOS_Clicker : NSButton

The Device Discovery Screen View Controller

The Peripheral Screen View Controller

Basic Window Controller Class

  • The main reason for creating this class was to allow us to interpret settings, and to fix an issue with Interface Builder.

    See more

    Declaration

    Swift

    class MacOS_Base_WindowController : NSWindowController