Index

RBObserverCollection.swift

Protocols

Classes


RBObserverCollection

A weak or strong collection of observer delegates.

Functions

Enumerates the delegate observer objects in the collection.
@param enumerationBlock : The enumeration block to call on each delegate observer object.
public func enumerateObservers(withBlock enumerationBlock: @escaping (AnyObject, Bool) -> Void)

Add a new delegate observer to the collection.
@param observer : The observer object to add to the collection.
public func addObserver(_ observer: AnyObject)

Remove a delegate observer from the collection.
@param observer : The observer object to remove from the collection.
public func removeObserver(_ observer: AnyObject)