Update some wrong code comments

This commit is contained in:
DreamPiggy 2020-01-15 12:34:57 +08:00
parent 7e3482d4fc
commit e376dad5f6
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ static CGFloat SDImageScaleFromPath(NSString *string) {
return YES; return YES;
} }
#pragma mark - SDAnimatedImage #pragma mark - SDAnimatedImageProvider
- (NSData *)animatedImageData { - (NSData *)animatedImageData {
return [self.animatedCoder animatedImageData]; return [self.animatedCoder animatedImageData];

View File

@ -559,7 +559,7 @@ static inline CGImageRef _Nullable SDCreateCGImageFromCIImage(CIImage * _Nonnull
#pragma mark - Image Effect #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 { - (nullable UIImage *)sd_blurredImageWithRadius:(CGFloat)blurRadius {
if (self.size.width < 1 || self.size.height < 1) { if (self.size.width < 1 || self.size.height < 1) {
return nil; return nil;