Skip to content

Instantly share code, notes, and snippets.

@CavalcanteLeo
Forked from bclubb/ImageHelper.h
Created March 22, 2016 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CavalcanteLeo/b5c9fffb9bd754e2b097 to your computer and use it in GitHub Desktop.
Save CavalcanteLeo/b5c9fffb9bd754e2b097 to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
#import "Image.h"
@interface ImageHelper : NSObject{
@private
Image *image;
}
- (UIImage *)getThumbnailImage;
- (UIImage *)getFullScreenImage;
- (UIImage *)getOriginalImage;
- (NSString *)getImageDirectory;
- (NSString *)getThumbnailImagePath;
- (NSString *)getFullScreenImagePath;
- (NSString *)getOriginalImagePath;
+ (NSArray *)helpersFromArray:(NSArray *)images;
+ (NSArray *)helpersFromEntry:(Entry *)entry withObjectContext:(NSManagedObjectContext *)managedObjectContext;
@property(nonatomic, retain) Image *image;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment