Other Categories
The following categories are available globally.
-
Undocumented
See moreDeclaration
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
See moreNSValue
to deal withPSPDFDrawingPoint
.Declaration
Objective-C
@interface NSValue (PSPDFModel)
-
Extends
See moreUIFontDescriptor
to blacklist some specific fonts.Declaration
Objective-C
@interface UIFontDescriptor (Blacklisting)
-
Undocumented
See moreDeclaration
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
See moreNSObject
with an accessibility helper.Declaration
Objective-C
@interface NSObject (PSPDFLocalizedAccessibility)
-
Extends
See moreUISearchController
with some helpers.Declaration
Objective-C
@interface UISearchController (PSPDFAdditions)