TICDSUtilities Class Reference
| Inherits from | NSObject |
| Declared in | TICDSUtilities.h |
Tasks
Unique Strings
-
+ uuidStringReturns a globally unique string, currently created using
[[NSProcessInfo processInfo] globallyUniqueString].
Directory Hierarchy
-
+ remoteGlobalAppDirectoryHierarchyReturns a dictionary containing the basic file structure for Global Application synchronization.
-
+ remoteDocumentDirectoryHierarchyReturns 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 *)remoteDocumentDirectoryHierarchyDeclared In
TICDSUtilities.hremoteGlobalAppDirectoryHierarchy
Returns a dictionary containing the basic file structure for Global Application synchronization.
+ (NSDictionary *)remoteGlobalAppDirectoryHierarchyDiscussion
The string keys are names of sub-directories, the values are dictionaries, which may contain further sub-directory keys.
Declared In
TICDSUtilities.hsyncWarningOfType:entityName:relatedObjectEntityName:attributes:
Returns a dictionary configured for a given synchronization warning.
+ (NSDictionary *)syncWarningOfType:(TICDSSyncWarningType)aType entityName:(NSString *)entityName relatedObjectEntityName:(NSString *)relatedObjectEntityName attributes:(NSDictionary *)attributesParameters
- 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.huserDefaultsKeyForIntegrityKeyForDocumentWithIdentifier:
Returns a full path key using the TICDSync and integrityKey components for the given key.
+ (NSString *)userDefaultsKeyForIntegrityKeyForDocumentWithIdentifier:(NSString *)anIdentifierDeclared In
TICDSUtilities.h