AnyHook
public protocol AnyHook
Base protocol requirements for hooks. Do not use this directly.
-
Declaration
Swift
associatedtype Group : HookGroup = DefaultGroup -
Called before the hook is activated.
Declaration
Swift
static func hookWillActivate() -> BoolReturn Value
trueto continue activation,falseto skip. The default implementation simply returnstrue. -
Called after the hook is activated.
The default implementation does nothing.
Declaration
Swift
static func hookDidActivate()
View on GitHub
Install in Dash
AnyHook Protocol Reference