Inherits from NSObject
Declared in TICDSUtilities.h

Overview

TICDSUtilities is a utility class providing various class methods for miscellaneous tasks.

Tasks

Unique Strings

  • + uuidString

    Returns a globally unique string, currently created using [[NSProcessInfo processInfo] globallyUniqueString].

Directory Hierarchy

User Defaults Keys

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

userDefaultsKeyForKey:

Returns a full path key using the TICDSync prefix for the given key.

+ (NSString *)userDefaultsKeyForKey:(NSString *)aKey

Declared In

TICDSUtilities.h

uuidString

Returns a globally unique string, currently created using [[NSProcessInfo processInfo] globallyUniqueString].

+ (NSString *)uuidString

Declared In

TICDSUtilities.h