Protocols
The following protocols are available globally.
-
Objects that conform to the
See morePCKObjectable
protocol are Parse interpretations ofOCKObjectCompatible
objects.Declaration
Swift
public protocol PCKObjectable : ParseObject
-
Objects that conform to the
See morePCKRoleable
protocol areParseRole
‘s .Declaration
Swift
public protocol PCKRoleable : ParseRole
-
Objects that conform to the
See morePCKSynchronizable
protocol are synchronized between theOCKStore
and the Parse Cloud. In order to synchronize objects, they must also conform to eitherPCKObjectable
orPCKVersionable
. For examples, seePCKPatient
,PCKCarePlan
,PCKTask
,PCKContact
, andPCKOutcome
.Declaration
Swift
public protocol PCKSynchronizable
-
Objects that conform to the
See morePCKVersionable
protocol are Parse interpretations ofOCKVersionedObjectCompatible
objects.Declaration
Swift
public protocol PCKVersionable : PCKObjectable, PCKSynchronizable
-
Objects that conform to the
See moreParseRemoteDelegate
protocol are able to respond to updates and resolve conflicts when needed.Declaration
Swift
public protocol ParseRemoteDelegate : OCKRemoteSynchronizationDelegate