Update some wrong code comments
This commit is contained in:
parent
7e3482d4fc
commit
e376dad5f6
|
@ -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];
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue