Constants
The following constants are available globally.
-
Declaration
Objective-C
extern NSString *const _Nonnull kPFDeviceTypeSwift
let kPFDeviceType: String
-
Error domain used for all
NSErrors in the SDK.Declaration
Objective-C
extern NSString *const _Nonnull PFParseErrorDomainSwift
let PFParseErrorDomain: String
-
The name of the notification that is going to be sent before any URL request is sent.
Declaration
Objective-C
extern NSString *const _Nonnull PFNetworkWillSendURLRequestNotificationSwift
static let PFNetworkWillSendURLRequest: NSNotification.Name -
The name of the notification that is going to be sent after any URL response is received.
Declaration
Objective-C
extern NSString *const _Nonnull PFNetworkDidReceiveURLResponseNotificationSwift
static let PFNetworkDidReceiveURLResponse: NSNotification.Name -
The name of the notification that is going to be sent when any request is failing with an invalid session token.
Declaration
Objective-C
extern NSString *const _Nonnull PFInvalidSessionTokenNotificationSwift
static let PFInvalidSessionToken: NSNotification.Name -
The key of request(NSURLRequest) in the userInfo dictionary of a notification.
Declaration
Objective-C
extern NSString *const _Nonnull PFNetworkNotificationURLRequestUserInfoKeySwift
let PFNetworkNotificationURLRequestUserInfoKey: String -
The key of response(NSHTTPURLResponse) in the userInfo dictionary of a notification.
Declaration
Objective-C
extern NSString *const _Nonnull PFNetworkNotificationURLResponseUserInfoKeySwift
let PFNetworkNotificationURLResponseUserInfoKey: String -
The key of repsonse body (usually
NSStringwith JSON) in the userInfo dictionary of a notification.Declaration
Objective-C
extern NSString *const _Nonnull PFNetworkNotificationURLResponseBodyUserInfoKeySwift
let PFNetworkNotificationURLResponseBodyUserInfoKey: String -
The name of the default pin that for PFObject local data store.
Declaration
Objective-C
extern NSString *const _Nonnull PFObjectDefaultPinSwift
let PFObjectDefaultPin: String
-
For testing purposes. Allows testers to know when init is complete.
Declaration
Objective-C
extern NSString *const _Nonnull PFParseInitializeDidCompleteNotificationSwift
static let PFParseInitializeDidComplete: NSNotification.Name
View on GitHub
Install in Dash
Constants Reference