Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOCache(Private) Category Reference

Instance Methods

(void) - loadFromArray:
 

Detailed Description

Definition at line 160 of file OOCache.m.

Method Documentation

◆ loadFromArray:

- (void) loadFromArray: (NSArray *) inArray

Extends class OOCache.

Definition at line 917 of file OOCache.m.

364 :(NSArray *)array
365{
366 NSEnumerator *entryEnum = nil;
367 NSDictionary *entry = nil;
368 NSString *key = nil;
369 id value = nil;
370
371 if (array == nil) return;
372
373 for (entryEnum = [array objectEnumerator]; (entry = [entryEnum nextObject]); )
374 {
375 if ([entry isKindOfClass:[NSDictionary class]])
376 {
377 key = [entry objectForKey:kSerializedEntryKeyKey];
378 value = [entry objectForKey:kSerializedEntryKeyValue];
379 if ([key isKindOfClass:[NSString class]] && value != nil)
380 {
381 [self setObject:value forKey:key];
382 }
383 }
384 }
385}
return nil

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