Classes

The following classes are available globally.

  • Base class, represents a hook to exactly one method.

    See more

    Declaration

    Swift

    public class AnyHook
  • Hook baseclass with generic signatures.

    See more

    Declaration

    Swift

    public class TypedHook<MethodSignature, HookSignature> : AnyHook
  • Interpose is a modern library to swizzle elegantly in Swift.

    Methods are hooked via replacing the implementation, instead of the usual exchange. Supports both swizzling classes and individual objects.

    See more

    Declaration

    Swift

    final public class Interpose