PSPDFControllerState

enum PSPDFControllerState : NSUInteger {}

Defines the state of controller, depending on the document.

  • No data is set or no data could be loaded.

    Declaration

    Objective-C

    PSPDFControllerStateEmpty

    Swift

    case empty = 0
  • Controller is querying data.

    Declaration

    Objective-C

    PSPDFControllerStateLoading

    Swift

    case loading = 1
  • Data is set. This is the state we want.

    Declaration

    Objective-C

    PSPDFControllerStateDefault

    Swift

    case `default` = 2
  • Data is invalid.

    Declaration

    Objective-C

    PSPDFControllerStateError

    Swift

    case error = 3
  • The data currently is locked.

    Declaration

    Objective-C

    PSPDFControllerStateLocked

    Swift

    case locked = 4