2011-10-17 09:28:15 -07:00
|
|
|
//
|
|
|
|
// Utilities.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Samuel Clay on 10/17/11.
|
|
|
|
// Copyright (c) 2011 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2011-10-18 08:56:13 -07:00
|
|
|
@interface Utilities : NSObject <NSCacheDelegate> {
|
|
|
|
NSCache *imageCache;
|
|
|
|
}
|
2011-10-17 09:28:15 -07:00
|
|
|
|
2011-10-17 09:28:40 -07:00
|
|
|
+ (void)saveImage:(UIImage *)image feedId:(NSString *)filename;
|
|
|
|
+ (UIImage *)getImage:(NSString *)filename;
|
2011-10-18 08:56:13 -07:00
|
|
|
+ (void)saveimagesToDisk;
|
2012-07-11 18:08:07 -07:00
|
|
|
+ (UIImage *)roundCorneredImage:(UIImage *)orig radius:(CGFloat)r;
|
2011-10-17 09:28:40 -07:00
|
|
|
|
2011-10-17 09:28:15 -07:00
|
|
|
@end
|