Instance Property

url

A URL that can be used to invite participants to this share.

Declaration

var url: URL? { get }

Discussion

This property is only available after a share record has been saved to the server. This URL is stable and is tied to the rootRecord. If you share a rootRecord, delete the share, and then re-share the same rootRecord via a newly created share, that newly created share’s URL will be identical to the prior share’s URL.

See Also

Accessing the Share Metadata

var currentUserParticipant: CKShare.Participant?

The current user’s metadata for this share.

var owner: CKShare.Participant

The share owner’s metadata.

var participants: [CKShare.Participant]

An array containing metadata objects for all participants in this share.