ObjCInjectedRetainer

public protocol ObjCInjectedRetainer : Retainer, NSObjectProtocol

A protocol that automatically adds implementation of methods of Retainer for Objective-C runtime compatible objects

  • releaseOnDeinit(_:) Extension method

    Declaration

    Swift

    func releaseOnDeinit(_ object: AnyObject)
  • notifyDeinit(_:) Extension method

    Declaration

    Swift

    func notifyDeinit(_ block: @escaping () -> Void)