TICDSRemoveAllRemoteSyncDataOperation Class Reference
Inherits from | TICDSOperation : NSOperation |
Declared in | TICDSRemoveAllRemoteSyncDataOperation.h |
Overview
The TICDSRemoveAllRemoteSyncDataOperation
class describes a generic operation used by the TICoreDataSync
framework to remove all remote sync data.
Tasks
Designated Initializer
-
– initWithDelegate:
Initialize an operation to remove all sync data using a delegate that supports the
TICDSRemoveAllRemoteSyncDataOperationDelegate
protocol.
Methods Overridden by Subclasses
-
– removeRemoteSyncDataDirectory
Remove all remote sync data for this application.
Callbacks
-
– removedRemoteSyncDataDirectoryWithSuccess:
Indicate whether the removal of all remote sync data was successful.
Instance Methods
initWithDelegate:
Initialize an operation to remove all sync data using a delegate that supports the TICDSRemoveAllRemoteSyncDataOperationDelegate
protocol.
- (id)initWithDelegate:(NSObject<TICDSRemoveAllRemoteSyncDataOperationDelegate> *)aDelegate
Parameters
- aDelegate
The delegate to use for this operation.
Return Value
An initialized document registration operation.
Declared In
TICDSRemoveAllRemoteSyncDataOperation.h
removeRemoteSyncDataDirectory
Remove all remote sync data for this application.
- (void)removeRemoteSyncDataDirectory
Discussion
This method must call :
when finished.
Declared In
TICDSRemoveAllRemoteSyncDataOperation.h
removedRemoteSyncDataDirectoryWithSuccess:
Indicate whether the removal of all remote sync data was successful.
- (void)removedRemoteSyncDataDirectoryWithSuccess:(BOOL)success
Parameters
- success
YES
if the directory structure was created, otherwiseNO
.
Discussion
If not, call setError:
first, then specify NO
for success
.
Declared In
TICDSRemoveAllRemoteSyncDataOperation.h