Enums

The following enums are available globally.

  • PFCachePolicy specifies different caching policies that could be used with PFQuery.

    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

    PFQuery

    See more

    Declaration

    Objective-C

    enum PFCachePolicy : uint8_t {}
  • PFErrorCode enum contains all custom error codes that are used as code for NSError for callbacks on all classes.

    These codes are used when domain of NSError that you receive is set to PFParseErrorDomain.

    See more

    Declaration

    Objective-C

    enum PFErrorCode : NSInteger {}
  • PFLogInFields bitmask specifies the log in elements which are enabled in the view.

    See

    PFLogInViewController

    See

    PFLogInView
    See more

    Declaration

    Objective-C

    enum PFLogInFields : NSInteger {}
  • PFSignUpFields bitmask specifies the sign up elements which are enabled in the view.

    See

    PFSignUpViewController

    See

    PFSignUpView
    See more

    Declaration

    Objective-C

    enum PFSignUpFields : NSInteger {}
  • PFTextFieldSeparatorStyle bitmask specifies the style of the separators, that should be used for a given PFTextField.

    See

    PFTextField
    See more

    Declaration

    Objective-C

    enum PFTextFieldSeparatorStyle : uint8_t {}