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)
    
    #pragma 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.
    
     @param otherComponent 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)