PSPDFOverridable

@protocol PSPDFOverridable <NSObject>

Allows to override specific subclasses of a controller/view/model.

  • Might return a subclass of originalClass. Must not return Nil.

    Declaration

    Objective-C

    - (nonnull Class)classForClass:(nonnull Class)originalClass;

    Swift

    optional func `class`(for originalClass: AnyClass) -> AnyClass