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

Main Navigation Controller

  • The navigation controller is used to maintain the driver instance.

    I know that I should define another class to do that, to be buzzword-compliant, but otherwise, this class would be empty, and there’s no sense wasting the namespace.

    See more

    Declaration

    Swift

    class RVS_BTDriver_iOS_Test_Harness_NavigationController : UINavigationController
    extension RVS_BTDriver_iOS_Test_Harness_NavigationController: RVS_BTDriverDelegate

Main ViewController Base Class

Detail View Controller Class

Class for One Table Cell

Main List Controller

  • Declaration

    Swift

    class RVS_BTDriver_iOS_Test_Harness_MainTableViewController : RVS_BTDriver_iOS_Test_Harness_Base_ViewController
    extension RVS_BTDriver_iOS_Test_Harness_MainTableViewController: RVS_BTDriverDelegate
    extension RVS_BTDriver_iOS_Test_Harness_MainTableViewController: RVS_BTDriver_DeviceSubscriberProtocol
    extension RVS_BTDriver_iOS_Test_Harness_MainTableViewController: UITableViewDataSource
    extension RVS_BTDriver_iOS_Test_Harness_MainTableViewController: UITableViewDelegate

Settings Screen View Controller Class