Other Categories

The following categories are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    @interface NSIndexPath (PSPDFDocumentViewLayout)
    
    /// Creates an index path with a given spread index, suitable for use on all the collection
    /// view methods dealing with index paths instead of spread indexes.
    ///
    /// @param spreadIndex The spread index to express as an index path.
    /// @return The index path expressing the passed in spread index.
    + (NSIndexPath *)pspdf_indexPathForSpreadAtIndex:(NSInteger)spreadIndex;
    
    /// The index identifying the spread in a `PSPDFDocumentViewLayout`.
    @property (nonatomic, readonly) NSInteger pspdf_spreadIndex;
    
    @end
  • Extends NSValue to deal with PSPDFDrawingPoint.

    See more

    Declaration

    Objective-C

    @interface NSValue (PSPDFModel)
  • Extends UIFontDescriptor to blacklist some specific fonts.

    See more

    Declaration

    Objective-C

    @interface UIFontDescriptor (Blacklisting)
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface UIGestureRecognizer (PSPDFInteractionComponentSupport)
    
    // MARK: Setting up Relationships with Other Components
    
    /// Creates a relationship with gesture recognizers in the given component that
    /// will prevent this gesture recognizer from transitioning from `.possible`
    /// state until all gesture recognizers in `otherComponent` transition to
    /// `.failed` state.
    ///
    /// If any gesture recognizer in `otherComponent` transitions to `.began` or
    /// `.ended` state then this gesture recognizer will instead transition to
    /// `.failed` state.
    ///
    /// > Note: Not all components are backed by gesture recognizers, and some
    /// > components can be backed by gesture recognizers just on one iOS version.
    /// > Be sure to check documentation of individual components to learn more.
    ///
    /// - Parameters
    ///     - otherComponent: The other interaction component.
    - (void)pspdf_requireGestureRecognizersInComponentToFail:(PSPDFInteractionComponent *)otherComponent NS_SWIFT_UNAVAILABLE("Use `require(toFail:)` instead.");
    
    @end
  • Extends NSObject with an accessibility helper.

    See more

    Declaration

    Objective-C

    @interface NSObject (PSPDFLocalizedAccessibility)
  • Extends UISearchController with some helpers.

    See more

    Declaration

    Objective-C

    @interface UISearchController (PSPDFAdditions)