From e376dad5f61f6f44620bf6d98885323883a96735 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Wed, 15 Jan 2020 12:34:57 +0800 Subject: [PATCH] Update some wrong code comments --- SDWebImage/Core/SDAnimatedImage.m | 2 +- SDWebImage/Core/UIImage+Transform.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SDWebImage/Core/SDAnimatedImage.m b/SDWebImage/Core/SDAnimatedImage.m index 422d6578..ce5d5d29 100644 --- a/SDWebImage/Core/SDAnimatedImage.m +++ b/SDWebImage/Core/SDAnimatedImage.m @@ -237,7 +237,7 @@ static CGFloat SDImageScaleFromPath(NSString *string) { return YES; } -#pragma mark - SDAnimatedImage +#pragma mark - SDAnimatedImageProvider - (NSData *)animatedImageData { return [self.animatedCoder animatedImageData]; diff --git a/SDWebImage/Core/UIImage+Transform.m b/SDWebImage/Core/UIImage+Transform.m index b1c3fc13..469e6949 100644 --- a/SDWebImage/Core/UIImage+Transform.m +++ b/SDWebImage/Core/UIImage+Transform.m @@ -559,7 +559,7 @@ static inline CGImageRef _Nullable SDCreateCGImageFromCIImage(CIImage * _Nonnull #pragma mark - Image Effect -// We use vImage to do box convolve for performance and support for watchOS. However, you can just use `CIFilter.CIBoxBlur`. For other blur effect, use any filter in `CICategoryBlur` +// We use vImage to do box convolve for performance and support for watchOS. However, you can just use `CIFilter.CIGaussianBlur`. For other blur effect, use any filter in `CICategoryBlur` - (nullable UIImage *)sd_blurredImageWithRadius:(CGFloat)blurRadius { if (self.size.width < 1 || self.size.height < 1) { return nil;