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