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

Main Application Delegate Class

  • This is the main application delegate for the OBD-specialized test harness Mac app.

    See more

    Declaration

    Swift

    @NSApplicationMain
    class RVS_BTDriver_OBD_Mac_Test_Harness_AppDelegate : NSObject
    extension RVS_BTDriver_OBD_Mac_Test_Harness_AppDelegate: NSApplicationDelegate
    extension RVS_BTDriver_OBD_Mac_Test_Harness_AppDelegate: RVS_BTDriverDelegate

The Base (Common) View Controller Class

Basic Window Controller Class

This Allows Us to Send Fixed Commands (For Testing)

Table Cell View

The Detail View Controller Class for Each Device

The Base (Common) View Controller Class for Each Device

Main View Controller Class