Index

RBProtocolMessageInterceptor.swift

Classes


RBProtocolMessageInterceptor

Acts as a middle man enabling the interception of delegate calls. If middleMan responds to a selector in the protocol, it will receive the delegate call instead of the end receiver. It is recommended it then forwards the call to the receiver.

Properties

The end receiver of the delegate calls.
public weak var receiver AnyObject? { get }

The middle man that is provided with the opportunity to intercept delegate calls.
public weak var middleMan AnyObject? { get }

The protocol of the delegate.
public let intercept Protocol { get set }