A reference to the metadata for a shared record.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Cloud
Kit
Declaration
class Metadata : NSObject
A reference to the metadata for a shared record.
SDKs
Framework
class Metadata : NSObject
var container Identifier: String
The unique identifier for the container associated with this share.
var owner Identity: CKUser Identity
The identity of the owner of the associated share.
var participant Permission: CKShare _Participant _Permission
Permissions associated with the user who retrieved the metadata for this share.
var participant Status: CKShare _Participant _Acceptance Status
The participation status of the user who retrieved the metadata for this share.
var participant Type: CKShare _Participant _Participant Type
The type of the user who retrieved the metadata for this share.
var root Record: CKRecord?
The root record associated with this share.
var root Record ID: CKRecord .ID
The unique identifier for the root record associated with this share.
var share: CKShare
The associated share.
class CKShare
A reference to a shared record.
class CKShare .Participant
A reference to a person who accepted a shared record.
Operations are used to communicate shared information with CloudKit.