Constants

The following constants are available globally.


  • Declaration

    Objective-C

    extern NSString *const _Nonnull kPFDeviceType
  • Error domain used for all NSErrors in the SDK.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFParseErrorDomain
  • The name of the notification that is going to be sent before any URL request is sent.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFNetworkWillSendURLRequestNotification
  • The name of the notification that is going to be sent after any URL response is received.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFNetworkDidReceiveURLResponseNotification
  • The key of request(NSURLRequest) in the userInfo dictionary of a notification. - note: This key is populated in userInfo, only if PFLogLevel on Parse is set to PFLogLevelDebug.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFNetworkNotificationURLRequestUserInfoKey
  • The key of response(NSHTTPURLResponse) in the userInfo dictionary of a notification. - note: This key is populated in userInfo, only if PFLogLevel on Parse is set to PFLogLevelDebug.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFNetworkNotificationURLResponseUserInfoKey
  • The key of repsonse body (usually NSString with JSON) in the userInfo dictionary of a notification. - note: This key is populated in userInfo, only if PFLogLevel on Parse is set to PFLogLevelDebug.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFNetworkNotificationURLResponseBodyUserInfoKey
  • The name of the default pin that for PFObject local data store.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFObjectDefaultPin
  • The notification is posted immediately after the log in succeeds.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFLogInSuccessNotification
  • The notification is posted immediately after the log in fails. If the delegate prevents the log in from starting, the notification is not sent.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFLogInFailureNotification
  • The notification is posted immediately after the log in is cancelled.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFLogInCancelNotification
  • The notification is posted immediately after the sign up succeeds.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFSignUpSuccessNotification
  • The notification is posted immediately after the sign up fails.

    If the delegate prevents the sign up to start, the notification is not sent.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFSignUpFailureNotification
  • The notification is posted immediately after the user cancels sign up.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PFSignUpCancelNotification