An operation that accepts shared records.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Cloud
Kit
Declaration
class CKAcceptSharesOperation : CKOperation
An operation that accepts shared records.
SDKs
Framework
class CKAcceptSharesOperation : CKOperation
var accept Shares Completion Block: ((Error?) -> Void)?
The block to execute when the operation has completed.
var per Share Completion Block: ((CKShare .Metadata, CKShare?, Error?) -> Void)?
The block to execute for each share metadata that the server has processed.
var share Metadatas: [CKShare .Metadata]?
The metadata of the shares that you want to process.
init()
Initializes and returns an operation object configured to process share metadata.
init(share Metadatas: [CKShare .Metadata])
Initializes and returns an operation object configured to process the specified share objects.