Protocols

The following protocols are available globally.

  • This protocol marks hooks by type. Since there is no way to represent all different types of hooks with one protocol, you need to implement some additional methods. Please compare DelegationHook and SerialHook before implementing your own.

    See more

    Declaration

    Swift

    public protocol Hook
  • Raw values for hook keys must conform to this protocol.

    Declaration

    Swift

    public protocol HookAction : Hashable