The following protocols are available globally.
This protocol makes any entity observable, by giving it the infrastructure to subscribe and track observers. It’s up to the implementor to actually use this to send messages.
Observables have to be classes. Observers don’t need to be classes.
There are two required components: a UUID, which needs to remain constant during the lifetime of the instance, and an Array of observers.See more
public protocol RVS_GeneralObservableProtocol : AnyObject
This protocol allows any entity to become an observer. The only required component is a UUID.See more
public protocol RVS_GeneralObserverProtocol