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 moreDeclaration
Objective-C
@protocol PFFileUploadController <NSObject>
Swift
protocol PFFileUploadController : NSObjectProtocol
-
If a subclass of
PFObject
conforms toPFSubclassing
and callsPFObject.+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
See morePFObject
and includePFObject+Subclass.h
in their implementation file. This ensures the methods in the Subclass category ofPFObject
are exposed in its subclasses only.Declaration
Objective-C
@protocol PFSubclassing <NSObject>
Swift
protocol PFSubclassing : NSObjectProtocol
-
The
ParseMutableClientConfiguration
represents aParseClientConfiguration
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:
See moreconfiguration.applicationId = @"<#YOUR APPLICATION ID#>" configuration.clientKey = @"<#YOUR CLIENT KEY#>" configuration.localDatastoreEnabled = true
Declaration
Objective-C
@protocol ParseMutableClientConfiguration <NSObject>
Swift
protocol ParseMutableClientConfiguration : NSObjectProtocol