FunctionHookProtocol
public protocol FunctionHookProtocol : AnyObject, AnyHookThe protocol to which function hooks conform. Do not conform to this
directly; use FunctionHook.
- 
                  
                  The function which is to be hooked. DeclarationSwift static var target: Function { get }
- 
                  
                  Initialize the function hook type. Do not invoke or override this; use AnyHook.hookWillActivate()orAnyHook.hookDidActivate()for lifecycle events.DeclarationSwift init()
- 
                  origExtension methodA proxy which allows invoking the original function. Use orig.functionto access the original implementation of the hooked function.See the example in the documentation of FunctionHookfor more information on how this is used.DeclarationSwift public var orig: Self { get }
 View on GitHub
            View on GitHub
           Install in Dash
            Install in Dash
           FunctionHookProtocol Protocol Reference
      FunctionHookProtocol Protocol Reference