MUWeakProxy

final public class MUWeakProxy : NSObject

A class that create a weak target to avoid retain cycles.

  • Initialize a new object with the target to retain weakly.

    Declaration

    Swift

    public init(_ target: NSObjectProtocol)
  • Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.

    Declaration

    Swift

    override public func responds(to aSelector: Selector) -> Bool
  • Returns the object to which unrecognized messages should first be directed.

    Declaration

    Swift

    override public func forwardingTarget(for aSelector: Selector) -> Any?