Oolite
Loading...
Searching...
No Matches
OOCache(Private) Category Reference

Instance Methods

(void) - loadFromArray:

Detailed Description

Definition at line 177 of file OOCache.m.

Method Documentation

◆ loadFromArray:

- (void) loadFromArray: (NSArray*) inArray

Extends class OOCache.

Definition at line 364 of file OOCache.m.

364 :(NSArray*)array
365{
366 NSDictionary* entry = nil;
367 NSString* key = nil;
368 id value = nil;
369
370 if (array == nil)
371 return;
372
373 foreach (entry, array) {
374 if ([entry isKindOfClass:[NSDictionary class]]) {
375 key = [entry objectForKey:kSerializedEntryKeyKey];
376 value = [entry objectForKey:kSerializedEntryKeyValue];
377 if ([key isKindOfClass:[NSString class]] && value != nil) {
378 [self setObject:value forKey:key];
379 }
380 }
381 }
382}
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: