Other Constants

The following constants are available globally.

  • The key for a NSNumber object containing an int page number.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlPageNumberUserInfoKey

    Swift

    let PTPDFViewCtrlPageNumberUserInfoKey: String
  • The key for a NSNumber object containing a PTDownloadedType.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlStreamingEventTypeUserInfoKey

    Swift

    let PTPDFViewCtrlStreamingEventTypeUserInfoKey: String
  • The key for a NSString object containing the message for a streaming event.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlStreamingEventMessageUserInfoKey

    Swift

    let PTPDFViewCtrlStreamingEventMessageUserInfoKey: String
  • The key for a NSNumber object containing a PTColorPostProcessMode.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlColorPostProcessModeUserInfoKey

    Swift

    let PTPDFViewCtrlColorPostProcessModeUserInfoKey: String
  • The key for a UIColor object containing the color that black is mapped to.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlBlackColorUserInfoKey

    Swift

    let PTPDFViewCtrlBlackColorUserInfoKey: String
  • The key for a UIColor object containing the color that white is mapped to.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlWhiteColorUserInfoKey

    Swift

    let PTPDFViewCtrlWhiteColorUserInfoKey: String
  • The key for a NSNumber object containing a TrnPagePresentationMode.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlPagePresentationModeUserInfoKey

    Swift

    let PTPDFViewCtrlPagePresentationModeUserInfoKey: String
  • Posted when remote annotations are added.

    The notification object is the collaboration manager that posted the notification. The userInfo dictionary contains entries for the PTCollaborationManagerAnnotationUserInfoKey key.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PTCollaborationManagerRemoteAnnotationsAddedNotification

    Swift

    static let PTCollaborationManagerRemoteAnnotationsAdded: NSNotification.Name
  • Posted when remote annotations are modified.

    The notification object is the collaboration manager that posted the notification. The userInfo dictionary contains entries for the PTCollaborationManagerAnnotationUserInfoKey key.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PTCollaborationManagerRemoteAnnotationsModifiedNotification

    Swift

    static let PTCollaborationManagerRemoteAnnotationsModified: NSNotification.Name
  • Posted when remote annotations are removed.

    The notification object is the collaboration manager that posted the notification. The userInfo dictionary contains entries for the PTCollaborationManagerAnnotationUserInfoKey key.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PTCollaborationManagerRemoteAnnotationsRemovedNotification

    Swift

    static let PTCollaborationManagerRemoteAnnotationsRemoved: NSNotification.Name
  • Posted when the PTDocumentViewController has opened a document.

    The notification object is the PTDocumentViewController that posted the notification.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PTDocumentViewControllerDidOpenDocumentNotification

    Swift

    static let PTDocumentViewControllerDidOpenDocument: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTTextSearchMatchCaseKey

    Swift

    let PTTextSearchMatchCaseKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTTextSearchMatchWholeWordKey

    Swift

    let PTTextSearchMatchWholeWordKey: String
  • The default line, interitem, and section inset spacing.

    Declaration

    Objective-C

    extern const CGFloat PTThumbnailViewLayoutDefaultSpacing

    Swift

    let PTThumbnailViewLayoutDefaultSpacing: CGFloat
  • The key for a NSNumber object containing an int page number.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTToolManagerPreviousPageNumberUserInfoKey

    Swift

    let PTToolManagerPreviousPageNumberUserInfoKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsCategoryKey

    Swift

    let PTToolsSettingsCategoryKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsSettingKey

    Swift

    let PTToolsSettingsSettingKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsCategoryDefaultValueKey

    Swift

    let PTToolsSettingsCategoryDefaultValueKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsSettingNameKey

    Swift

    let PTToolsSettingsSettingNameKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsCategoryDescriptionKey

    Swift

    let PTToolsSettingsCategoryDescriptionKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsSettingKeyKey

    Swift

    let PTToolsSettingsSettingKeyKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsMinOSKey

    Swift

    let PTToolsSettingsMinOSKey: String
  • Undocumented

    Declaration

    Objective-C

    PT_EXPORT NSString * const PTToolsSettingsUnavailableKey

    Swift

    let PTToolsSettingsUnavailableKey: String