Classes
The following classes are available globally.
-
Declaration
Swift
private class ResourceBundleClass
-
This is the subclass of the preferences type that will provide our persistent app settings.
See moreDeclaration
Swift
class CGA_PersistentPrefs : RVS_PersistentPrefs
-
This class exists only to manage the background, navbar and logo image. If we are in Dark Mode, or High-Contrast Mode, we make the background darker (and possibly monochromatic), and reduce the prominence of the logo.
See moreDeclaration
Swift
class CGA_BaseViewController : UIViewController
-
The primary application delegate for the app.
See moreDeclaration
Swift
@UIApplicationMain class CGA_AppDelegate : UIResponder, UIApplicationDelegate
-
This controls the about this app view.
See moreDeclaration
Swift
class CGA_InfoViewController : CGA_BaseViewController
-
This controls the settings view.
See moreDeclaration
Swift
class CGA_SettingsViewController : CGA_BaseViewControllerextension CGA_SettingsViewController: UITextViewDelegate
-
This controls the Interaction View.
See moreDeclaration
Swift
class CGA_CharacteristicInteractionViewController : CGA_BaseViewController, CGA_WriteableElementContainerextension CGA_CharacteristicInteractionViewController: CGA_UpdatableScreenViewControllerextension CGA_CharacteristicInteractionViewController: UITextViewDelegate
-
This denotes one row of the table of Descriptors. Each row denotes one Descriptor.
See moreDeclaration
Swift
class CGA_CharacteristicViewController_TableRow : UITableViewCell
-
This controls the Characteristic Information View.
See moreDeclaration
Swift
class CGA_CharacteristicViewController : CGA_BaseViewController, CGA_WriteableElementContainerextension CGA_CharacteristicViewController: CGA_UpdatableScreenViewControllerextension CGA_CharacteristicViewController: UITableViewDataSourceextension CGA_CharacteristicViewController: UITableViewDelegate
-
This controls the Interaction View.
See moreDeclaration
Swift
class CGA_DescriptorInteractionViewController : CGA_BaseViewController, CGA_WriteableElementContainerextension CGA_DescriptorInteractionViewController: CGA_UpdatableScreenViewControllerextension CGA_DescriptorInteractionViewController: UITextViewDelegate
-
This is a simple class that will be used to display one row in the initial discovery table.
See moreDeclaration
Swift
class CGA_InitialViewController_TableRow : UITableViewCell
-
This controls the initial view, which is a basic table of discovered devices.
There are two sections: BLE, and BR/EDR (Classic). Each section has rows of devices that fit in that Bluetooth mode.
See moreDeclaration
Swift
class CGA_InitialViewController : CGA_BaseViewControllerextension CGA_InitialViewController: CGA_ScannerViewControllerextension CGA_InitialViewController: CGA_UpdatableScreenViewControllerextension CGA_InitialViewController: CGA_BlueThoth_Delegateextension CGA_InitialViewController: UITableViewDataSourceextension CGA_InitialViewController: UITableViewDelegate
-
This is the class that defines one row of the table that displays the Services.
See moreDeclaration
Swift
class CGA_PeripheralViewController_TableRow : UITableViewCell
-
This controls the Peripheral Information View.
See moreDeclaration
Swift
class CGA_PeripheralViewController : CGA_BaseViewControllerextension CGA_PeripheralViewController: CGA_UpdatableScreenViewControllerextension CGA_PeripheralViewController: UITableViewDataSourceextension CGA_PeripheralViewController: UITableViewDelegate
-
Our table cells have three rows.
See moreDeclaration
Swift
class CGA_ServiceViewController_TableRow : UITableViewCell
-
This simply allows us to attach a row index to a gesture, so we know which Characteristic to use.
See moreDeclaration
Swift
class CG_TapGestureRecognizer : UITapGestureRecognizer
-
This simply allows us to attach a row index to a button, so we know which Characteristic to use.
See moreDeclaration
Swift
class CG_TappableButton : UIButton
-
This controls the Service Information View.
See moreDeclaration
Swift
class CGA_ServiceViewController : CGA_BaseViewController, CGA_ServiceContainerextension CGA_ServiceViewController: CGA_UpdatableScreenViewControllerextension CGA_ServiceViewController: UITableViewDataSourceextension CGA_ServiceViewController: UITableViewDelegate
View on GitHub
Classes Reference