RBImageResponse Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBImageResponse.h |
wasCancelled
Whether or not the operation was cancelled.
@property (nonatomic, readonly) BOOL wasCancelled
Discussion
Whether or not the operation was cancelled.
Declared In
RBImageResponse.h
error
The error that occurred during the operation, or nil
if no error occurred.
@property (nonatomic, readonly, nullable) NSError *error
Discussion
The error that occurred during the operation, or nil
if no error occurred.
Declared In
RBImageResponse.h
image
The resulting image that was retrieved.
@property (nonatomic, readonly, nullable) UIImage *image
Discussion
The resulting image that was retrieved.
Declared In
RBImageResponse.h
+ responseWithImage:isDiskCacheHit:isMemoryCacheHit:
Creates a new image response with success.
+ (nonnull RBImageResponse *)responseWithImage:(nonnull UIImage *)image isDiskCacheHit:(BOOL)isDiskCacheHit isMemoryCacheHit:(BOOL)isMemoryCacheHit
Parameters
image |
The retrieved image. |
---|---|
isDiskCacheHit |
Whether or not the image was retrieved from the disk cache. |
isMemoryCacheHit |
Whether or not the image was retrieved from the memory cache. |
Return Value
The new RBImageResponse
object.
Discussion
Creates a new image response with success.
Declared In
RBImageResponse.h