Oolite 1.91.0.7745-260117-205bce7
Loading...
Searching...
No Matches
OOCache(Private) Category Reference

Instance Methods

(void) - loadFromArray:

Detailed Description

Definition at line 187 of file OOCache.m.

Method Documentation

◆ loadFromArray:

- (void) loadFromArray: (NSArray *) inArray

Extends class OOCache.

Definition at line 391 of file OOCache.m.

391 :(NSArray *)array
392{
393 NSEnumerator *entryEnum = nil;
394 NSDictionary *entry = nil;
395 NSString *key = nil;
396 id value = nil;
397
398 if (array == nil) return;
399
400 for (entryEnum = [array objectEnumerator]; (entry = [entryEnum nextObject]); )
401 {
402 if ([entry isKindOfClass:[NSDictionary class]])
403 {
404 key = [entry objectForKey:kSerializedEntryKeyKey];
405 value = [entry objectForKey:kSerializedEntryKeyValue];
406 if ([key isKindOfClass:[NSString class]] && value != nil)
407 {
408 [self setObject:value forKey:key];
409 }
410 }
411 }
412}
return nil

References nil, and OOCache::setObject:forKey:.

Here is the call graph for this function:

The documentation for this category was generated from the following file: