MockRecordable
public class MockRecordable: MCRecordable
This mock class was built for testing MCRecordable.
-
Declaration
Swift
public var recordType: String
-
Declaration
Swift
public var recordFields: Dictionary<String, CKRecordValue>
-
Declaration
Swift
public var recordID: CKRecordID
-
Declaration
Swift
public required init()
-
This is the default constructor and should be used whenever generating mocks for testing.
Declaration
Swift
public init(created: Date? = nil)
Parameters
created
The date record was created, it will be used in constructing the mock record id.