Mockingbird Documentation 0.18.0

Class Proxy​Context

@objc(MKBProxyContext) public class ProxyContext: NSObject  

Stores potential targets that can handle forwarded invocations from mocked calls.

ProxyContext ProxyContext NSObject NSObject ProxyContext->NSObject

Conforms To

NSObject

Methods

targets(for:​)

@objc public func targets(for invocation: ObjCInvocation) -> [Any]  

Returns available proxy targets in descending priority, type erased for Obj-C interop.