Contents

init(rootRecord:)

Creates a new share for the specified record.

Declaration

convenience init(rootRecord: CKRecord)

Parameters

  • rootRecord:

    The record to share.

Discussion

When saving a newly created CKShare, you save both the share and its rootRecord in the same CKModifyRecordsOperation batch.

See Also

Creating a Share