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_BaseViewController
extension CGA_SettingsViewController: UITextViewDelegate
-
This controls the Interaction View.
See moreDeclaration
Swift
class CGA_CharacteristicInteractionViewController : CGA_BaseViewController, CGA_WriteableElementContainer
extension CGA_CharacteristicInteractionViewController: CGA_UpdatableScreenViewController
extension 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_WriteableElementContainer
extension CGA_CharacteristicViewController: CGA_UpdatableScreenViewController
extension CGA_CharacteristicViewController: UITableViewDataSource
extension CGA_CharacteristicViewController: UITableViewDelegate
-
This controls the Interaction View.
See moreDeclaration
Swift
class CGA_DescriptorInteractionViewController : CGA_BaseViewController, CGA_WriteableElementContainer
extension CGA_DescriptorInteractionViewController: CGA_UpdatableScreenViewController
extension 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_BaseViewController
extension CGA_InitialViewController: CGA_ScannerViewController
extension CGA_InitialViewController: CGA_UpdatableScreenViewController
extension CGA_InitialViewController: CGA_BlueThoth_Delegate
extension CGA_InitialViewController: UITableViewDataSource
extension 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_BaseViewController
extension CGA_PeripheralViewController: CGA_UpdatableScreenViewController
extension CGA_PeripheralViewController: UITableViewDataSource
extension 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_ServiceContainer
extension CGA_ServiceViewController: CGA_UpdatableScreenViewController
extension CGA_ServiceViewController: UITableViewDataSource
extension CGA_ServiceViewController: UITableViewDelegate