...
|
...
|
@@ -39,7 +39,7 @@ typedef enum { |
|
|
|
|
|
@protocol RMTileCache<NSObject>
|
|
|
|
|
|
// Returns the cached image if it exists. nil otherwise.
|
|
|
/// Returns the cached image if it exists. nil otherwise.
|
|
|
-(RMTileImage*) cachedImage:(RMTile)tile;
|
|
|
-(void)didReceiveMemoryWarning;
|
|
|
|
...
|
...
|
@@ -59,10 +59,10 @@ typedef enum { |
|
|
|
|
|
+(NSNumber*) tileHash: (RMTile)tile;
|
|
|
|
|
|
// Add tile to cache
|
|
|
/// Add tile to cache
|
|
|
-(void)addTile: (RMTile)tile WithImage: (RMTileImage*)image;
|
|
|
|
|
|
// Add another cache to the chain
|
|
|
/// Add another cache to the chain
|
|
|
-(void)addCache: (id<RMTileCache>)cache;
|
|
|
|
|
|
-(void)didReceiveMemoryWarning;
|
...
|
...
|
|