Protocols

The following protocols are available globally.

Simple Protocol That Defines A UI Updater Method

  • We use this to ensure that all our View Controllers can get a generic “Update Thyself” message.

    See more

    Declaration

    Swift

    protocol CGA_UpdatableScreenViewController

The CGA_ServiceContainer Protocol

The CGA_WriteableElementContainer Protocol

Simple Protocol That Defines A Scan Restart Method and a “Was Scanning” property

  • This will allow us to “reflect” on the main view controller, without needing to look at the entire class.

    See more

    Declaration

    Swift

    protocol CGA_ScannerViewController