Enumerations
The following enumerations are available globally.
-
PFCachePolicyspecifies different caching policies that could be used withPFQuery.This lets you show data when the user’s device is offline, or when the app has just started and network requests have not yet had time to complete. Parse takes care of automatically flushing the cache when it takes up too much space.
Warning
Cache policy could only be set when Local Datastore is not enabled.
See moreSee
PFQuery
Declaration
Objective-C
enum PFCachePolicy : uint8_t {}Swift
enum PFCachePolicy : UInt8, @unchecked Sendable
-
PFLogLevelenum specifies different levels of logging that could be used to limit or display more messages in logs.See
Parse.+setLogLevel:See moreSee
Parse.+logLevelDeclaration
Objective-C
enum PFLogLevel : uint8_t {}Swift
enum PFLogLevel : UInt8, @unchecked Sendable
-
PFErrorCodeenum contains all custom error codes that are used ascodeforNSErrorfor callbacks on all classes.These codes are used when
See moredomainofNSErrorthat you receive is set toPFParseErrorDomain.Declaration
Objective-C
enum PFErrorCode : NSInteger {}Swift
enum PFErrorCode : Int, @unchecked Sendable
View on GitHub
Install in Dash
Enumerations Reference