Definition at line 160 of file OOCache.m.
◆ 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;
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}
The documentation for this category was generated from the following file: