| Index: pkg/immi_samples/lib/ios/ImmiSamples/ImagePresenter.h
|
| diff --git a/pkg/immi_samples/lib/ios/ImmiSamples/ImagePresenter.h b/pkg/immi_samples/lib/ios/ImmiSamples/ImagePresenter.h
|
| deleted file mode 100644
|
| index 54ae5d14e1899f76792d500590435c6cca229eb9..0000000000000000000000000000000000000000
|
| --- a/pkg/immi_samples/lib/ios/ImmiSamples/ImagePresenter.h
|
| +++ /dev/null
|
| @@ -1,21 +0,0 @@
|
| -// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE.md file.
|
| -
|
| -#import <Foundation/Foundation.h>
|
| -#import <UIKit/UIKit.h>
|
| -
|
| -#import "Immi.h"
|
| -
|
| -@protocol ImageCache
|
| -- (id)get:(NSString*)key;
|
| -- (id)put:(NSString*)key value:(id)value;
|
| -@end
|
| -
|
| -@interface ImagePresenter : UIImageView <ImagePresenter>
|
| -- (void)presentImage:(ImageNode*)node;
|
| -- (void)presentImageFromData:(NSData*)data;
|
| -- (void)setCache:(id<ImageCache>)cache;
|
| -- (void)setDefaultImage:(UIImage*)image;
|
| -@end
|
| -
|
|
|