diff --git a/Pod/Classes/PINRemoteImageManagerResult.h b/Pod/Classes/PINRemoteImageManagerResult.h index 3d3fee38..2941e736 100644 --- a/Pod/Classes/PINRemoteImageManagerResult.h +++ b/Pod/Classes/PINRemoteImageManagerResult.h @@ -44,11 +44,11 @@ typedef NS_ENUM(NSUInteger, PINRemoteImageResultType) { @property (nonatomic, readonly, assign) CGFloat renderedImageQuality; + (nonnull instancetype)imageResultWithImage:(nullable PINImage *)image - alternativeRepresentation:(nullable id)alternativeRepresentation - requestLength:(NSTimeInterval)requestLength - error:(nullable NSError *)error - resultType:(PINRemoteImageResultType)resultType - UUID:(nullable NSUUID *)uuid; + animatedImage:(nullable FLAnimatedImage *)animatedImage + requestLength:(NSTimeInterval)requestLength + error:(nullable NSError *)error + resultType:(PINRemoteImageResultType)resultType + UUID:(nullable NSUUID *)uuid; + (nonnull instancetype)imageResultWithImage:(nullable PINImage *)image animatedImage:(nullable FLAnimatedImage *)animatedImage diff --git a/Pod/Classes/PINRemoteImageManagerResult.m b/Pod/Classes/PINRemoteImageManagerResult.m index 5c4c4f5f..78ddf841 100644 --- a/Pod/Classes/PINRemoteImageManagerResult.m +++ b/Pod/Classes/PINRemoteImageManagerResult.m @@ -18,7 +18,7 @@ + (instancetype)imageResultWithImage:(PINImage *)image UUID:(NSUUID *)uuid { return [self imageResultWithImage:image - alternativeRepresentation:alternativeRepresentation + animatedImage:animatedImage requestLength:requestLength error:error resultType:resultType @@ -27,7 +27,7 @@ + (instancetype)imageResultWithImage:(PINImage *)image } + (instancetype)imageResultWithImage:(PINImage *)image - alternativeRepresentation:(id)alternativeRepresentation + animatedImage:(nullable FLAnimatedImage *)animatedImage requestLength:(NSTimeInterval)requestLength error:(NSError *)error resultType:(PINRemoteImageResultType)resultType