TICDSUtilities Class Reference
Inherits from | NSObject |
Declared in | TICDSUtilities.h |
Tasks
Unique Strings
-
+ uuidString
Returns a globally unique string, currently created using
[[NSProcessInfo processInfo] globallyUniqueString]
.
Directory Hierarchy
-
+ remoteGlobalAppDirectoryHierarchy
Returns a dictionary containing the basic file structure for Global Application synchronization.
-
+ remoteDocumentDirectoryHierarchy
Returns a dictionary containing the basic file structure for a synchronized document.
-
+ syncWarningOfType:entityName:relatedObjectEntityName:attributes:
Returns a dictionary configured for a given synchronization warning.
User Defaults Keys
-
+ userDefaultsKeyForKey:
Returns a full path key using the TICDSync prefix for the given key.
-
+ userDefaultsKeyForIntegrityKeyForDocumentWithIdentifier:
Returns a full path key using the TICDSync and integrityKey components for the given key.
Class Methods
remoteDocumentDirectoryHierarchy
Returns a dictionary containing the basic file structure for a synchronized document.
+ (NSDictionary *)remoteDocumentDirectoryHierarchy
Declared In
TICDSUtilities.h
remoteGlobalAppDirectoryHierarchy
Returns a dictionary containing the basic file structure for Global Application synchronization.
+ (NSDictionary *)remoteGlobalAppDirectoryHierarchy
Discussion
The string keys are names of sub-directories, the values are dictionaries, which may contain further sub-directory keys.
Declared In
TICDSUtilities.h
syncWarningOfType:entityName:relatedObjectEntityName:attributes:
Returns a dictionary configured for a given synchronization warning.
+ (NSDictionary *)syncWarningOfType:(TICDSSyncWarningType)aType entityName:(NSString *)entityName relatedObjectEntityName:(NSString *)relatedObjectEntityName attributes:(NSDictionary *)attributes
Parameters
- aType
The type of the sync warning.
- entityName
The entity name for the affected object.
- relatedObjectEntityName
The entity name for any related object.
- attributes
Any defining attributes for the object affected by the sync change.
Return Value
A dictionary configured with the given information.
Declared In
TICDSUtilities.h
userDefaultsKeyForIntegrityKeyForDocumentWithIdentifier:
Returns a full path key using the TICDSync and integrityKey components for the given key.
+ (NSString *)userDefaultsKeyForIntegrityKeyForDocumentWithIdentifier:(NSString *)anIdentifier
Declared In
TICDSUtilities.h