Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKAcceptSharesOperationMBS class.

CKAcceptSharesOperationMBS.acceptSharesCompleted(operationError as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No
This event is called when the operation completes.

The Completed event of the underlying NSOperation is also called if both are set. If the error is CKErrorPartialFailure, the error’s userInfo dictionary contains a dictionary of shareURL objects to errors keyed off of CKPartialErrorsByItemIDKey. This call happens as soon as the server has seen all record changes and may be invoked while the server is processing the side effects of those changes.

The event is executed serially with respect to the other progress blocks of the operation. If you intend to use this event to process results, update the value of this property before executing the operation or submitting the operation object to a queue.

CKAcceptSharesOperationMBS.perShareCompleted(shareMetadata as CKShareMetadataMBS, acceptedShare as CKShareMBS, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No
The event to execute for each share metadata that the server has processed.

If the error is nil the share was successfully accepted. Each time the block is executed, it is executed serially with respect to the other progress blocks of the operation.

If you intend to use this event to process results, set it before executing the operation or submitting the operation object to a queue.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...