AnyHook
public protocol AnyHook
The base protocol for all hook types. Do not use this directly.
-
hookWillActivate()Default implementationCalled before the hook is activated.
Default Implementation
Declaration
Swift
static func hookWillActivate() -> BoolReturn Value
trueto continue activation,falseto skip. The default implementation simply returnstrue. -
hookDidActivate()Default implementationCalled after the hook is activated.
The default implementation does nothing.
Default Implementation
Declaration
Swift
static func hookDidActivate()
View on GitHub
Install in Dash
AnyHook Protocol Reference