Contents

addObserver(toAllBusses:forKeyPath:options:context:)

Adds a KVO observer for a given property on all busses in the array.

Declaration

func addObserver(toAllBusses observer: NSObject, forKeyPath keyPath: String, options: NSKeyValueObservingOptions = [], context: UnsafeMutableRawPointer?)

Parameters

  • observer:

    The KVO observer.

  • keyPath:

    The property’s key path.

  • options:

    The KVO options.

  • context:

    The KVO context.

See Also

Bus Array Methods and Properties