text: //
  //  TIPImageRenderedCache.h
  //  TwitterImagePipeline
  //
  //  Created on 4/6/15.
  //  Copyright (c) 2015 Twitter. All rights reserved.
  //
  
  #import <UIKit/UIImage.h>
  #import <UIKit/UIView.h>
  
  #import "TIPInspectableCache.h"
  
  @class TIPImageCacheEntry;
  
  NS_ASSUME_NONNULL_BEGIN
  
  @interface TIPImageRenderedCache : NSObject <TIPImageCache, TIPInspectableCache>
  
  - (nullable TIPImageCacheEntry *)imageEntryWithIdentifier:(NSString *)identifier
                                      transformerIdentifier:(nullable NSString *)transformerIdentifier
                                           targetDimensions:(CGSize)size
                                          targetContentMode:(UIViewContentMode)mode
                                      sourceImageDimensions:(out CGSize * __nullable)sourceDimsOut
                                                      dirty:(out BOOL * __nullable)dirtyOut TIP_OBJC_DIRECT; // main thread only
  - (void)storeImageEntry:(TIPImageCacheEntry *)entry
    transformerIdentifier:(nullable NSString *)transformerIdentifier
    sourceImageDimensions:(CGSize)sourceDims TIP_OBJC_DIRECT;
  - (void)dirtyImageWithIdentifier:(NSString *)identifier TIP_OBJC_DIRECT;
  - (void)weakifyEntries TIP_OBJC_DIRECT;
  
  @end
  
  NS_ASSUME_NONNULL_END
  