ObjectObserver

public protocol ObjectObserver : AnyObject

Implement the ObjectObserver protocol to observe changes to a single DynamicObject instance. ObjectObservers may register themselves to an ObjectMonitor‘s addObserver(_:) method:

let monitor = dataStack.monitorObject(object)
monitor.addObserver(self)