OLD | NEW |
| (Empty) |
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE.md file. | |
4 | |
5 #import <Foundation/Foundation.h> | |
6 #import <UIKit/UIKit.h> | |
7 | |
8 #import "Immi.h" | |
9 | |
10 @protocol ImageCache | |
11 - (id)get:(NSString*)key; | |
12 - (id)put:(NSString*)key value:(id)value; | |
13 @end | |
14 | |
15 @interface ImagePresenter : UIImageView <ImagePresenter> | |
16 - (void)presentImage:(ImageNode*)node; | |
17 - (void)presentImageFromData:(NSData*)data; | |
18 - (void)setCache:(id<ImageCache>)cache; | |
19 - (void)setDefaultImage:(UIImage*)image; | |
20 @end | |
21 | |
OLD | NEW |