TICDSOperationDelegate Protocol Reference
Conforms to | NSObject |
Declared in | TICDSClassesAndProtocols.h |
Overview
The TICDSOperationDelegate
protocol defines the methods implemented by delegates of any generic TICDSOperation
. In the TICoreDataSync
framework, these delegate methods are implemented by the application and document sync managers.
Tasks
-
– operationCompletedSuccessfully:
Informs the delegate that the operation has completely and successfully finished its tasks.
required method -
– operationWasCancelled:
Informs the delegate that the operation was cancelled before it could finish its tasks.
required method -
– operationFailedToComplete:
Informs the delegate that the operation failed to complete before it could finish its tasks.
required method -
– operationReportedProgress:
Informs the delegate that the operation has reported progress.
required method -
– operationShouldSupportProcessingInBackgroundState:
Asks the delegate whether or not the operation should support continued processing after the app has been sent to a background state. .
required method
Instance Methods
operationCompletedSuccessfully:
Informs the delegate that the operation has completely and successfully finished its tasks.
- (void)operationCompletedSuccessfully:(TICDSOperation *)anOperation
Parameters
- anOperation
The operation object that sent the message.
Declared In
TICDSClassesAndProtocols.h
operationFailedToComplete:
Informs the delegate that the operation failed to complete before it could finish its tasks.
- (void)operationFailedToComplete:(TICDSOperation *)anOperation
Parameters
- anOperation
The operation object that sent the message.
Declared In
TICDSClassesAndProtocols.h
operationReportedProgress:
Informs the delegate that the operation has reported progress.
- (void)operationReportedProgress:(TICDSOperation *)anOperation
Parameters
- anOperation
The operation object that sent the message.
Declared In
TICDSClassesAndProtocols.h
operationShouldSupportProcessingInBackgroundState:
Asks the delegate whether or not the operation should support continued processing after the app has been sent to a background state. .
- (BOOL)operationShouldSupportProcessingInBackgroundState:(TICDSOperation *)anOperation
Parameters
- anOperation
The operation object that sent the message.
Declared In
TICDSClassesAndProtocols.h