Protocols

The following protocols are available globally.

  • A policy interface for overriding the default upload behavior of uploading a PFFileObject to application’s parse server. Allows for direct uploads to other file storage providers.

    See more

    Declaration

    Objective-C

    @protocol PFFileUploadController <NSObject>

    Swift

    protocol PFFileUploadController : NSObjectProtocol
  • If a subclass of PFObject conforms to PFSubclassing and calls PFObject.+registerSubclass, Parse framework will be able to use that class as the native class for a Parse cloud object.

    Classes conforming to this protocol should subclass PFObject and include PFObject+Subclass.h in their implementation file. This ensures the methods in the Subclass category of PFObject are exposed in its subclasses only.

    See more

    Declaration

    Objective-C

    @protocol PFSubclassing <NSObject>

    Swift

    protocol PFSubclassing : NSObjectProtocol
  • Provides a general interface for delegation of third party authentication with PFUsers.

    See more

    Declaration

    Objective-C

    @protocol PFUserAuthenticationDelegate <NSObject>

    Swift

    protocol PFUserAuthenticationDelegate : NSObjectProtocol
  • The ParseMutableClientConfiguration represents a ParseClientConfiguration object that can be mutated.

    It is only usable during the execution of the block passed to ParseClientConfiguration.+configurationWithBlock:, during which time you should set your properties on it, similar to the following:

    configuration.applicationId = @"<#YOUR APPLICATION ID#>"
    configuration.clientKey = @"<#YOUR CLIENT KEY#>"
    configuration.localDatastoreEnabled = true
    
    See more

    Declaration

    Objective-C

    @protocol ParseMutableClientConfiguration <NSObject>

    Swift

    protocol ParseMutableClientConfiguration : NSObjectProtocol