| 1 2 3 4 5 6 7 | // Load an Image: UIImage* image = [UIImage imageWithData:[[EGOCache currentCache] dataForKey:@"imageCacheKey"]]; // Store an Image: [[EGOCache currentCache] setData:UIImagePNGRepresentation(image) forKey:@"imageCacheKey" withTimeoutInterval:604800]; |