Protocols
The following protocols are available globally.
-
We use this to ensure that all our View Controllers can get a generic “Update Thyself” message.
See moreDeclaration
Swift
protocol CGA_UpdatableScreenViewController
-
This protocol allows us to associate a Service instance with any instance we want.
See moreDeclaration
Swift
protocol CGA_ServiceContainer : CGA_UpdatableScreenViewController
-
This protocol allows us to associate a Characteristic or Descriptor instance with any instance we want.
See moreDeclaration
Swift
protocol CGA_WriteableElementContainer : CGA_UpdatableScreenViewController
-
This will allow us to “reflect” on the main view controller, without needing to look at the entire class.
See moreDeclaration
Swift
protocol CGA_ScannerViewController