Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CKOperationMBS.cancel
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CloudKit MBS Mac64bit Plugin 17.2 Yes No No Yes, macOS only No
Function: Advises the operation object that it should stop executing its task.
Notes:
This method does not force your operation code to stop. The code for your operation must invoke the isCancelled method periodically to determine whether the operation should be stopped. Once cancelled, an operation cannot be restarted.

If the operation is already finished executing, this method has no effect. Canceling an operation that is currently in an operation queue, but not yet executing, causes it to be removed from the queue (although not necessarily right away).

Feedback, Comments & Corrections

CKOperationMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CloudKit MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: The constructor.

Feedback, Comments & Corrections

CKOperationMBS.isCancelled as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CloudKit MBS Mac64bit Plugin 17.2 Yes No No Yes, macOS only No
Function: Returns a Boolean value indicating whether the operation has been cancelled.
Notes:
True if the operation was explicitly cancelled by an invocation of the operation's cancel method; otherwise, false. This method may return true even if the operation is currently executing.

Discussion
Canceling an operation does not actively stop the operation's code from executing. An operation object is responsible for calling this method periodically and stopping itself if the method returns true.

Feedback, Comments & Corrections

CKOperationMBS.isExecuting as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CloudKit MBS Mac64bit Plugin 17.2 Yes No No Yes, macOS only No
Function: Returns a Boolean value indicating whether the operation is currently executing.
Notes: True if the operation is executing; otherwise, false if the operation has not been started or is already finished.

Feedback, Comments & Corrections

CKOperationMBS.isFinished as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CloudKit MBS Mac64bit Plugin 17.2 Yes No No Yes, macOS only No
Function: A Boolean value indicating whether the operation is done executing.
Notes: True if the operation is no longer executing; otherwise, false.

Feedback, Comments & Corrections

CKOperationMBS.start
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CloudKit MBS Mac64bit Plugin 17.2 Yes No No Yes, macOS only No
Function: Begins the execution of the operation.
Notes: The default implementation of this method configures the execution environment for a non-concurrent operation and invokes the operation's main method. As part of the default configuration, this method performs several checks to ensure that the non-concurrent operation can actually run and generates appropriate KVO notifications for each change in the operation's state. If the operation's operation has already been performed, was cancelled, or is not yet ready to run, this method throws an NSInvalidArgumentException exception. If the operation is to be performed on a separate thread, this method may return before the operation itself completes on the other thread.

Feedback, Comments & Corrections

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





Links
MBS Xojo Chart Plugins