RVS_BTDriver_SubscriberProtocol

public protocol RVS_BTDriver_SubscriberProtocol : AnyObject

This is a “base” subscriber protocol for accessing driver elements.

We require that subscribers be classes, so they will be referenced.

  • REQUIRED: The implementation is required to provide this. The implementation should not do anything with it; simply provide a read/write instance property.

    Declaration

    Swift

    var _uuid: UUID! { get set }

Required Instance Propeties

  • uuid Default implementation

    This is a unique UUID that needs to be assigned to each instance, so we can match subscribers.

    Default Implementation

    This simply generates a new UUID for the subscriber.

    It will only generate it the first time.

    Declaration

    Swift

    var uuid: UUID! { get }