Skip to content

Instantly share code, notes, and snippets.

@datinc
datinc / gist:3c671cbc2a04fd395122
Last active August 29, 2015 14:20
WatchKit JPEG Animated issue
/*
This gist is a code sample for the stackoverflow question
http://stackoverflow.com/questions/30062124/wkinterfacedevice-caching-optimization
The purpose of the question is to find a way to reduce the size of an animated image in the watch cache.
The interface only has the image in it.
*/
// this is an answer for SO question http://stackoverflow.com/q/21859288/1449607
@interface TableViewController : UITableViewController
@end
@interface TableViewController ()
@property (nonatomic, strong) NSMutableArray* books;
@property (nonatomic, strong) NSString* path;
@end