An operation that fetches the participants of a shared record.


class CKFetchShareParticipantsOperation : CKOperation


Initializing an Operation


Initializes and returns an operation object configured to fetch share participants.

init(userIdentityLookupInfos: [CKUserIdentity.LookupInfo])

Initializes and returns an operation object configured to fetch the specified share participants.

Configuring the Operation Object

var userIdentityLookupInfos: [CKUserIdentity.LookupInfo]?

The user identities that are used to fetch the share participants.

Processing the Operation Results

var fetchShareParticipantsCompletionBlock: ((Error?) -> Void)?

The block to execute when the operation has completed.

var shareParticipantFetchedBlock: ((CKShare.Participant) -> Void)?

The block to execute for each share participant that has been fetched from the server.


Inherits From

Conforms To

See Also


class CKFetchShareMetadataOperation

An operation that fetches shared record metadata for one or more shares.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software