Classes

The following classes are available globally.

Main Preferences Base Class

  • This class is meant to act as an “abstract” base class, providing a simple Dictionary datastore that is stored in the UserDefaults in the Application Bundle. It is designed to be reliable, and extremely simple to use. The stored Dictionary would be a String-keyed Dictionary of Any (flexible types). It s up to subclasses to specialize the typeless data. THIS IS NOT EFFICIENT OR ROBUST! It is meant as a simple “bucket” for things like application preferences. It is not an industrial data storage solution. You have been warned. Subclasses could declare their accessors as KVO-style, thus, providing a direct way to influence persistent state. You can also directly observe the .values property. It will change when ANY pref is changed (so might not be suitable for “pick and choose” observation).

    See more

    Declaration

    Swift

    public class RVS_PersistentPrefs : NSObject

The Preferences Specialization Class

The Main Application Delegate Class

  • This class is the main application delegate.

    It is also the “owner” of the driver instance, and acts as the delegate for the driver.

    See more

    Declaration

    Swift

    @NSApplicationMain
    class RVS_BTDriver_MacOS_Test_Harness_AppDelegate : NSObject, NSApplicationDelegate
    extension RVS_BTDriver_MacOS_Test_Harness_AppDelegate: RVS_BTDriverDelegate

The Settings Screen View Controller Class

The Base (Common) View Controller Class

Basic Window Controller Class

Table Cell View

The Detail View Controller Class for Each Device

The Device Screen View Controller Class

The Main Screen View Controller Class

The Settings Screen View Controller Class