Objective-CclassSyncedDefaultsDaemon
SYDSyncManager
@interface SYDSyncManager : NSObject <CKSyncEngineDelegate, CKSyncEngineDelegatePrivate>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolCKSyncEngineDelegate
- protocolCKSyncEngineDelegatePrivate
Members 142
- method
+ (BOOL)isDataSeparated; - method
+ (BOOL)shouldIgnoreFetchError:(id)arg0; - ivar
BOOL _alwaysSaveRecordZones;+0x8 - ivar
NSObject<OS_dispatch_queue> *_callbackQueue;+0x48 - ivar
CKContainer *_container;+0x18 - ivar
SYDCoreDataStore *_coreDataStore;+0x20 - ivar
id <SYDSyncManagerDelegate> _delegate;+0x70 - ivar
BOOL _disableAutomaticRetries;+0x9 - ivar
CKSyncEngine *_engine;+0x10 - ivar
unsigned long long _maxPendingFetchedRecords;+0x68 - ivar
int _mobileKeybagNotifyToken;+0xc - ivar
NSMutableArray *_pendingDeletedRecordIDs;+0x60 - ivar
NSMutableArray *_pendingFetchedRecords;+0x58 - ivar
NSString *_personaUniqueString;+0x38 - ivar
NSObject<OS_dispatch_queue> *_queue;+0x40 - ivar
NSMutableSet *_storeIdentifiersWithChangedValuesDuringFetchChanges;+0x50 - ivar
long long _storeType;+0x28 - ivar
SYDTestConfiguration *_testConfiguration;+0x30 - method
- (void).cxx_destruct; - method
- (void)_markZoneForDeletionOnManateeFailureForRecordZoneID:(id)arg0; - method
- (void)_queue_resetSyncEngine; - method
- (void)addKeyValueRecordIDsToSave:(id)arg0 recordIDsToDelete:(id)arg1 storeIdentifier:(id)arg2; - method
- (void)addPendingDatabaseChanges:(id)arg0 storeIdentifier:(id)arg1; - method
- (void)addSyncAnchorRecordIDToSaveIfNecessaryForStoreIdentifier:(id)arg0; - method
- (BOOL)alwaysSaveRecordZones; - method
- (id)callbackQueue; - method
- (id)container; - method
- (id)coreDataStore; - method
- (void)dealloc; - method
- (void)deduplicateRecordForKeyValue:(id)arg0 withNewlyFetchedRecord:(id)arg1; - method
- (id)delegate; - method
- (void)deleteDataFromCloudWithCompletionHandler:(id /* block */)arg0; - method
- (void)deleteDataFromDisk; - method
- (id)description; - method
- (void)didDeleteRecordWithID:(id)arg0; - method
- (void)didDeleteRecordZoneWithID:(id)arg0; - method
- (void)didEndFetchingChanges; - method
- (void)didFailToDeleteRecordWithID:(id)arg0 error:(id)arg1; - method
- (void)didFailToFetchChangesForRecordZoneID:(id)arg0 error:(id)arg1; - method
- (void)didFailToSaveRecord:(id)arg0 error:(id)arg1; - method
- (void)didFetchRecord:(id)arg0; - method
- (void)didFetchRecordDeletion:(id)arg0 recordType:(id)arg1; - method
- (void)didSaveKeyValueRecord:(id)arg0; - method
- (void)didSaveRecord:(id)arg0; - method
- (BOOL)disableAutomaticRetries; - method
- (id)engine; - method
- (id)engineWithError:(id *)arg0; - method
- (void)failedToSaveKeyValueRecord:(id)arg0 error:(id)arg1; - method
- (void)fetchChangesFromCloudForAllStoresWithCompletionHandler:(id /* block */)arg0; - method
- (void)fetchChangesFromCloudForStoreIdentifiers:(id)arg0 group:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (BOOL)getSyncEngineStateSerialization:(id *)arg0 error:(id *)arg1; - method
- (void)handleSyncEngineStateUpdate:(id)arg0; - method
- (BOOL)hasPendingChangesToUpload; - method
- (BOOL)hasSyncEngine; - method
- (id)initWithContainer:(id)arg0 coreDataStore:(id)arg1 storeType:(long long)arg2 testConfiguration:(id)arg3; - method
- (BOOL)initializeSyncEngineWithError:(id *)arg0; - method
- (BOOL)isAutomaticSyncingEnabled; - method
- (BOOL)isIdentityLostError:(id)arg0; - method
- (void)markAllKeyValuesAsNeedingToBeUploaded; - method
- (void)markAllKeyValuesAsNeedingToBeUploadedForStoreWithIdentifier:(id)arg0; - method
- (unsigned long long)maxPendingFetchedRecords; - method
- (int)mobileKeybagNotifyToken; - method
- (id)newRecordNameForKey:(id)arg0; - method
- (id)objectForKey:(id)arg0 inStoreWithIdentifier:(id)arg1 error:(id *)arg2; - method
- (id)pendingDeletedRecordIDs; - method
- (id)pendingFetchedRecords; - method
- (void)performOneTimeDataSeparatedLocalDataResetIfNecessary; - method
- (id)personaUniqueString; - method
- (void)processFetchedRecords:(id)arg0 deletedRecordIDs:(id)arg1; - method
- (void)processPendingFetchedRecordsWithReason:(id)arg0; - method
- (id)queue; - method
- (id)recordIDForKey:(id)arg0 inStoreWithIdentifier:(id)arg1; - method
- (id)recordToSaveForRecordID:(id)arg0 error:(id *)arg1; - method
- (void)registerForFirstUnlockNotificationsIfNecessary; - method
- (BOOL)removeObjectForKey:(id)arg0 inStoreWithIdentifier:(id)arg1 error:(id *)arg2; - method
- (BOOL)removeObjectForKey:(id)arg0 inStoreWithIdentifier:(id)arg1 excludeFromChangeTracking:(BOOL)arg2 didRemoveValue:(BOOL *)arg3 error:(id *)arg4; - method
- (BOOL)removeObjectForKey:(id)arg0 inStoreWithIdentifier:(id)arg1 excludeFromChangeTracking:(BOOL)arg2 error:(id *)arg3; - method
- (void)resetSyncEngine; - method
- (void)resetSyncEngineWithContainer:(id)arg0; - method
- (void)savePendingChangesToCloudForAllStoresWithCompletionHandler:(id /* block */)arg0; - method
- (void)savePendingChangesToCloudForStoreIdentifiers:(id)arg0 group:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (void)saveSyncAnchorSystemFieldsRecord:(id)arg0; - method
- (void)setAlwaysSaveRecordZones:(BOOL)arg0; - method
- (void)setAutomaticSyncingEnabled:(BOOL)arg0; - method
- (void)setCallbackQueue:(id)arg0; - method
- (void)setContainer:(id)arg0; - method
- (void)setCoreDataStore:(id)arg0; - method
- (void)setDelegate:(id)arg0; - method
- (void)setDisableAutomaticRetries:(BOOL)arg0; - method
- (void)setEngine:(id)arg0; - method
- (void)setMaxPendingFetchedRecords:(unsigned long long)arg0; - method
- (void)setMobileKeybagNotifyToken:(int)arg0; - method
- (BOOL)setObject:(id)arg0 forKey:(id)arg1 inStoreWithIdentifier:(id)arg2 error:(id *)arg3; - method
- (BOOL)setObject:(id)arg0 forKey:(id)arg1 inStoreWithIdentifier:(id)arg2 excludeFromChangeTracking:(BOOL)arg3 enforceQuota:(BOOL)arg4 didChangeValue:(BOOL *)arg5 error:(id *)arg6; - method
- (BOOL)setObject:(id)arg0 forKey:(id)arg1 inStoreWithIdentifier:(id)arg2 excludeFromChangeTracking:(BOOL)arg3 enforceQuota:(BOOL)arg4 error:(id *)arg5; - method
- (void)setPendingDeletedRecordIDs:(id)arg0; - method
- (void)setPendingFetchedRecords:(id)arg0; - method
- (void)setPersonaUniqueString:(id)arg0; - method
- (void)setQueue:(id)arg0; - method
- (void)setStoreIdentifiersWithChangedValuesDuringFetchChanges:(id)arg0; - method
- (void)setStoreType:(long long)arg0; - method
- (BOOL)shouldRetryAfterModifyError:(id)arg0; - method
- (BOOL)shouldSyncStoreWithIdentifier:(id)arg0; - method
- (id)storeIdentifiersWithChangedValuesDuringFetchChanges; - method
- (long long)storeType; - method
- (void)syncEngine:(id)arg0 accountChangedFromUserRecordID:(id)arg1 toUserRecordID:(id)arg2; - method
- (void)syncEngine:(id)arg0 handleEvent:(id)arg1; - method
- (id)syncEngine:(id)arg0 nextFetchChangesOptionsForContext:(id)arg1; - method
- (id)syncEngine:(id)arg0 nextRecordZoneChangeBatchForContext:(id)arg1; - method
- (id)syncEngine:(id)arg0 relatedApplicationBundleIdentifiersForZoneIDs:(id)arg1 recordIDs:(id)arg2; - method
- (void)synchronizeAllStoresWithCompletionHandler:(id /* block */)arg0; - method
- (void)synchronizeStoreWithIdentifier:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (void)synchronizeStoresWithIdentifiers:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (id)testConfiguration; - method
- (void)unsetSyncEngine; - method
- (BOOL)useSyncAnchor; - method
- (BOOL)useUUIDRecordNames; - method
- (BOOL)validateKey:(id)arg0 error:(id *)arg1; - method
- (void)willBeginFetchingChanges; - method
- (void)zoneWithIDWasPurged:(id)arg0; - property
@property(nonatomic) BOOL alwaysSaveRecordZones; - property
@property(getter=isAutomaticSyncingEnabled, nonatomic) BOOL automaticSyncingEnabled; - property
@property(retain, nonatomic) NSObject<OS_dispatch_queue> *callbackQueue; - property
@property(retain, nonatomic) CKContainer *container; - property
@property(retain, nonatomic) SYDCoreDataStore *coreDataStore; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(weak, nonatomic) id <SYDSyncManagerDelegate> delegate; - property
@property(readonly, copy) NSString *description; - property
@property(nonatomic) BOOL disableAutomaticRetries; - property
@property(retain, nonatomic) CKSyncEngine *engine; - property
@property(readonly) unsigned long long hash; - property
@property(nonatomic) unsigned long long maxPendingFetchedRecords; - property
@property(nonatomic) int mobileKeybagNotifyToken; - property
@property(retain, nonatomic) NSMutableArray *pendingDeletedRecordIDs; - property
@property(retain, nonatomic) NSMutableArray *pendingFetchedRecords; - property
@property(copy, nonatomic) NSString *personaUniqueString; - property
@property(retain, nonatomic) NSObject<OS_dispatch_queue> *queue; - property
@property(retain, nonatomic) NSMutableSet *storeIdentifiersWithChangedValuesDuringFetchChanges; - property
@property(nonatomic) long long storeType; - property
@property(readonly) Class superclass; - property
@property(readonly, nonatomic) SYDTestConfiguration *testConfiguration; - property
@property(readonly, nonatomic) BOOL useSyncAnchor;
Header
@interface SYDSyncManager : NSObject <CKSyncEngineDelegate, CKSyncEngineDelegatePrivate> { BOOL _alwaysSaveRecordZones; BOOL _disableAutomaticRetries; int _mobileKeybagNotifyToken; CKSyncEngine *_engine; CKContainer *_container; SYDCoreDataStore *_coreDataStore; long long _storeType; SYDTestConfiguration *_testConfiguration; NSString *_personaUniqueString; NSObject<OS_dispatch_queue> *_queue; NSObject<OS_dispatch_queue> *_callbackQueue; NSMutableSet *_storeIdentifiersWithChangedValuesDuringFetchChanges; NSMutableArray *_pendingFetchedRecords; NSMutableArray *_pendingDeletedRecordIDs; unsigned long long _maxPendingFetchedRecords; id<SYDSyncManagerDelegate> _delegate; } @property (nonatomic, strong) SYDCoreDataStore *coreDataStore; @property (nonatomic) long long storeType; @property (nonatomic, strong) NSObject<OS_dispatch_queue> *queue; @property (nonatomic, strong) NSObject<OS_dispatch_queue> *callbackQueue; @property (nonatomic, strong) CKContainer *container; @property (nonatomic, strong) NSMutableSet *storeIdentifiersWithChangedValuesDuringFetchChanges; @property (nonatomic, strong) NSMutableArray *pendingFetchedRecords; @property (nonatomic, strong) NSMutableArray *pendingDeletedRecordIDs; @property (nonatomic) int mobileKeybagNotifyToken; @property (nonatomic, copy) NSString *personaUniqueString; @property (nonatomic) BOOL alwaysSaveRecordZones; @property (nonatomic) unsigned long long maxPendingFetchedRecords; @property (nonatomic, getter=isAutomaticSyncingEnabled) BOOL automaticSyncingEnabled; @property (nonatomic, weak) id<SYDSyncManagerDelegate> delegate; @property (nonatomic, strong) CKSyncEngine *engine; @property (nonatomic, readonly) BOOL useSyncAnchor; @property (nonatomic) BOOL disableAutomaticRetries; @property (nonatomic, readonly) SYDTestConfiguration *testConfiguration; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (BOOL)isDataSeparated; + (BOOL)shouldIgnoreFetchError:(id)shouldIgnoreFetchError; - (id)engine; - (id)callbackQueue; - (void)setEngine:(id)engine; - (void)setCallbackQueue:(id)callbackQueue; - (void)didFailToFetchChangesForRecordZoneID:(id)recordZoneID error:(id)error; - (void)setContainer:(id)container; - (id)coreDataStore; - (id)container; - (BOOL)hasPendingChangesToUpload; - (void)resetSyncEngineWithContainer:(id)container; - (BOOL)setObject:(id)object forKey:(id)forKey inStoreWithIdentifier:(id)identifier excludeFromChangeTracking:(BOOL)changeTracking enforceQuota:(BOOL)enforceQuota error:(id *)error; - (void)savePendingChangesToCloudForStoreIdentifiers:(id)storeIdentifiers group:(id)group completionHandler:(id /* block */)completionHandler; - (void)registerForFirstUnlockNotificationsIfNecessary; - (id)description; - (void)setPendingDeletedRecordIDs:(id)pendingDeletedRecordIDs; - (void)synchronizeStoresWithIdentifiers:(id)identifiers completionHandler:(id /* block */)completionHandler; - (void)processPendingFetchedRecordsWithReason:(id)reason; - (BOOL)validateKey:(id)validateKey error:(id *)error; - (void)unsetSyncEngine; - (void)zoneWithIDWasPurged:(id)iDWasPurged; - (id)testConfiguration; - (BOOL)useUUIDRecordNames; - (void)didFailToDeleteRecordWithID:(id)iD error:(id)error; - (id)syncEngine:(id)syncEngine nextRecordZoneChangeBatchForContext:(id)context; - (BOOL)shouldRetryAfterModifyError:(id)modifyError; - (id)objectForKey:(id)key inStoreWithIdentifier:(id)identifier error:(id *)error; - (BOOL)getSyncEngineStateSerialization:(id *)syncEngineStateSerialization error:(id *)error; - (void)_markZoneForDeletionOnManateeFailureForRecordZoneID:(id)recordZoneID; - (BOOL)useSyncAnchor; - (void)syncEngine:(id)syncEngine handleEvent:(id)handleEvent; - (id)pendingDeletedRecordIDs; - (void)willBeginFetchingChanges; - (void)synchronizeStoreWithIdentifier:(id)identifier completionHandler:(id /* block */)completionHandler; - (id)syncEngine:(id)syncEngine nextFetchChangesOptionsForContext:(id)context; - (void)setMaxPendingFetchedRecords:(unsigned long long)maxPendingFetchedRecords; - (void)deleteDataFromDisk; - (int)mobileKeybagNotifyToken; - (void)synchronizeAllStoresWithCompletionHandler:(id /* block */)completionHandler; - (void).cxx_destruct; - (void)addPendingDatabaseChanges:(id)addPendingDatabaseChanges storeIdentifier:(id)storeIdentifier; - (void)didFetchRecordDeletion:(id)didFetchRecordDeletion recordType:(id)recordType; - (BOOL)initializeSyncEngineWithError:(id *)error; - (void)setDelegate:(id)delegate; - (unsigned long long)maxPendingFetchedRecords; - (void)processFetchedRecords:(id)processFetchedRecords deletedRecordIDs:(id)deletedRecordIDs; - (void)dealloc; - (void)failedToSaveKeyValueRecord:(id)saveKeyValueRecord error:(id)error; - (void)fetchChangesFromCloudForStoreIdentifiers:(id)storeIdentifiers group:(id)group completionHandler:(id /* block */)completionHandler; - (BOOL)alwaysSaveRecordZones; - (void)didFailToSaveRecord:(id)saveRecord error:(id)error; - (void)handleSyncEngineStateUpdate:(id)handleSyncEngineStateUpdate; - (void)setPendingFetchedRecords:(id)pendingFetchedRecords; - (void)setStoreIdentifiersWithChangedValuesDuringFetchChanges:(id)fetchChanges; - (id)syncEngine:(id)syncEngine relatedApplicationBundleIdentifiersForZoneIDs:(id)zoneIDs recordIDs:(id)recordIDs; - (BOOL)removeObjectForKey:(id)key inStoreWithIdentifier:(id)identifier excludeFromChangeTracking:(BOOL)changeTracking error:(id *)error; - (BOOL)isIdentityLostError:(id)isIdentityLostError; - (id)recordToSaveForRecordID:(id)recordID error:(id *)error; - (BOOL)setObject:(id)object forKey:(id)forKey inStoreWithIdentifier:(id)identifier excludeFromChangeTracking:(BOOL)changeTracking enforceQuota:(BOOL)enforceQuota didChangeValue:(BOOL *)didChangeValue error:(id *)error; - (void)didDeleteRecordZoneWithID:(id)iD; - (void)markAllKeyValuesAsNeedingToBeUploaded; - (id)pendingFetchedRecords; - (void)didEndFetchingChanges; - (BOOL)shouldSyncStoreWithIdentifier:(id)identifier; - (void)savePendingChangesToCloudForAllStoresWithCompletionHandler:(id /* block */)completionHandler; - (void)setStoreType:(long long)storeType; - (void)setMobileKeybagNotifyToken:(int)mobileKeybagNotifyToken; - (void)setAutomaticSyncingEnabled:(BOOL)automaticSyncingEnabled; - (void)addKeyValueRecordIDsToSave:(id)save recordIDsToDelete:(id)delete storeIdentifier:(id)storeIdentifier; - (id)personaUniqueString; - (void)performOneTimeDataSeparatedLocalDataResetIfNecessary; - (void)didFetchRecord:(id)didFetchRecord; - (void)setQueue:(id)queue; - (BOOL)disableAutomaticRetries; - (id)queue; - (id)initWithContainer:(id)container coreDataStore:(id)coreDataStore storeType:(long long)storeType testConfiguration:(id)testConfiguration; - (id)storeIdentifiersWithChangedValuesDuringFetchChanges; - (BOOL)removeObjectForKey:(id)key inStoreWithIdentifier:(id)identifier error:(id *)error; - (void)setPersonaUniqueString:(id)personaUniqueString; - (void)deduplicateRecordForKeyValue:(id)keyValue withNewlyFetchedRecord:(id)withNewlyFetchedRecord; - (void)syncEngine:(id)syncEngine accountChangedFromUserRecordID:(id)userRecordID toUserRecordID:(id)toUserRecordID; - (id)delegate; - (void)didSaveKeyValueRecord:(id)didSaveKeyValueRecord; - (void)setAlwaysSaveRecordZones:(BOOL)alwaysSaveRecordZones; - (void)resetSyncEngine; - (void)addSyncAnchorRecordIDToSaveIfNecessaryForStoreIdentifier:(id)storeIdentifier; - (void)fetchChangesFromCloudForAllStoresWithCompletionHandler:(id /* block */)completionHandler; - (void)setDisableAutomaticRetries:(BOOL)disableAutomaticRetries; - (void)deleteDataFromCloudWithCompletionHandler:(id /* block */)completionHandler; - (void)_queue_resetSyncEngine; - (void)didDeleteRecordWithID:(id)iD; - (long long)storeType; - (BOOL)isAutomaticSyncingEnabled; - (void)didSaveRecord:(id)didSaveRecord; - (void)setCoreDataStore:(id)coreDataStore; - (id)recordIDForKey:(id)key inStoreWithIdentifier:(id)identifier; - (BOOL)removeObjectForKey:(id)key inStoreWithIdentifier:(id)identifier excludeFromChangeTracking:(BOOL)changeTracking didRemoveValue:(BOOL *)didRemoveValue error:(id *)error; - (BOOL)hasSyncEngine; - (void)saveSyncAnchorSystemFieldsRecord:(id)saveSyncAnchorSystemFieldsRecord; - (BOOL)setObject:(id)object forKey:(id)forKey inStoreWithIdentifier:(id)identifier error:(id *)error; - (id)engineWithError:(id *)error; - (void)markAllKeyValuesAsNeedingToBeUploadedForStoreWithIdentifier:(id)identifier; - (id)newRecordNameForKey:(id)key; @end