Contents

init(shareMetadatas:)

Creates an operation for accepting the specified shares.

Declaration

convenience init(shareMetadatas: [CKShare.Metadata])

Parameters

  • shareMetadatas:

    The share metadatas to accept. If you specify nil, you must assign a value to the Sharemetadatas property before you execute the operation.

Discussion

After initializing the operation, assign a handler to the acceptSharesCompletionBlock property to process the results.

See Also

Creating a Share Accept Operation