Skip to content

Commit ea15d2b

Browse files
committed
Backport #185
1 parent fe81a3d commit ea15d2b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Pod/Classes/PINRemoteImageManagerResult.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ typedef NS_ENUM(NSUInteger, PINRemoteImageResultType) {
4444
@property (nonatomic, readonly, assign) CGFloat renderedImageQuality;
4545

4646
+ (nonnull instancetype)imageResultWithImage:(nullable PINImage *)image
47-
alternativeRepresentation:(nullable id)alternativeRepresentation
48-
requestLength:(NSTimeInterval)requestLength
49-
error:(nullable NSError *)error
50-
resultType:(PINRemoteImageResultType)resultType
51-
UUID:(nullable NSUUID *)uuid;
47+
animatedImage:(nullable FLAnimatedImage *)animatedImage
48+
requestLength:(NSTimeInterval)requestLength
49+
error:(nullable NSError *)error
50+
resultType:(PINRemoteImageResultType)resultType
51+
UUID:(nullable NSUUID *)uuid;
5252

5353
+ (nonnull instancetype)imageResultWithImage:(nullable PINImage *)image
5454
animatedImage:(nullable FLAnimatedImage *)animatedImage

Pod/Classes/PINRemoteImageManagerResult.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ + (instancetype)imageResultWithImage:(PINImage *)image
1818
UUID:(NSUUID *)uuid
1919
{
2020
return [self imageResultWithImage:image
21-
alternativeRepresentation:alternativeRepresentation
21+
animatedImage:animatedImage
2222
requestLength:requestLength
2323
error:error
2424
resultType:resultType
@@ -27,7 +27,7 @@ + (instancetype)imageResultWithImage:(PINImage *)image
2727
}
2828

2929
+ (instancetype)imageResultWithImage:(PINImage *)image
30-
alternativeRepresentation:(id)alternativeRepresentation
30+
animatedImage:(nullable FLAnimatedImage *)animatedImage
3131
requestLength:(NSTimeInterval)requestLength
3232
error:(NSError *)error
3333
resultType:(PINRemoteImageResultType)resultType

0 commit comments

Comments
 (0)