initializeCacheWithError: method

Retrieves all the initialized cache metadata.

Syntax

- ( BOOL ) initializeCacheWithError : ( NSError ** ) error

Parameters

Returns

Boolean to indicate the outcome of the operation.
 id<Caching> cacheLocal = [[Cache alloc] init];
 NSError* error = nil;
 if (![cacheLocal initializeCacheWithError:&error])
 {
     NSLog("Initialize Error : %@", error);
     return;
 }