Classes
The following classes are available globally.
-
This class is meant to act as an “abstract” base class, providing a simple
See moreDictionary
datastore that is stored in theUserDefaults
in the Application Bundle. It is designed to be reliable, and extremely simple to use. The storedDictionary
would be a String-keyed Dictionary ofAny
(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 asKVO
-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).Declaration
Swift
public class RVS_PersistentPrefs : NSObject
-
This class extends the prefs class to provide persistent prefs storage. This is used across all test harnesses.
See moreDeclaration
Swift
class RVS_BTDriver_Test_Harness_Prefs : RVS_PersistentPrefs
-
This is the main application delegate for the OBD-specialized test harness Mac app.
See moreDeclaration
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
-
This class provides some common tools for all device view controllers.
See moreDeclaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_Base_Device_ViewController : RVS_BTDriver_OBD_MacOS_Test_Harness_Base_ViewController
-
This class provides some common tools for all view controllers.
See moreDeclaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_Base_ViewController : NSViewController, RVS_BTDriver_DeviceSubscriberProtocol, RVS_BTDriver_OBD_DeviceDelegate
-
The main reason for creating this class was to allow us to interpret settings, and to fix an issue with Interface Builder.
See moreDeclaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_Base_WindowController : NSWindowController
-
Declaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_Command_ViewController : RVS_BTDriver_OBD_MacOS_Test_Harness_Base_Device_ViewController
-
This view will be used for each table cell.
See moreDeclaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewControllerTableCellView : NSTableCellView
-
Declaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController : RVS_BTDriver_OBD_MacOS_Test_Harness_Base_Device_ViewController
extension RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController: NSTableViewDelegate
extension RVS_BTDriver_OBD_MacOS_Test_Harness_Device_Detail_ViewController: NSTableViewDataSource
-
This controls a screen that allows a direct command/response with each device, and also allows a “details” screen to appear, listing the device state.
See moreDeclaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_Device_ViewController : RVS_BTDriver_OBD_MacOS_Test_Harness_Base_Device_ViewController
extension RVS_BTDriver_OBD_MacOS_Test_Harness_Device_ViewController: NSTextFieldDelegate
-
This view controller manages the main device selection screen.
See moreDeclaration
Swift
class RVS_BTDriver_OBD_MacOS_Test_Harness_ViewController : RVS_BTDriver_OBD_MacOS_Test_Harness_Base_ViewController
extension RVS_BTDriver_OBD_MacOS_Test_Harness_ViewController: NSTableViewDelegate
extension RVS_BTDriver_OBD_MacOS_Test_Harness_ViewController: NSTableViewDataSource