Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion UIImage+Blur.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@

@interface UIImage (Blur)

-(UIImage *)boxblurImageWithBlur:(CGFloat)blur;
-(nonnull UIImage *)boxblurImageWithBlur:(CGFloat)blur;

@end
12 changes: 6 additions & 6 deletions UIImage+Resize.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
*/
@interface UIImage (Resize)

+ (UIImage*)resizeImage:(UIImage*)image height:(CGFloat)height;
+ (nonnull UIImage*)resizeImage:(nonnull UIImage*)image height:(CGFloat)height;

+ (UIImage*)resizeImage:(UIImage*)image width:(CGFloat)width;
+ (nonnull UIImage*)resizeImage:(nonnull UIImage*)image width:(CGFloat)width;

+ (UIImage*)resizeImage:(UIImage*)image width:(CGFloat)desiredWidth height:(CGFloat)desiredHeight;
+ (nonnull UIImage*)resizeImage:(nonnull UIImage*)image width:(CGFloat)desiredWidth height:(CGFloat)desiredHeight;

- (UIImage*)resizeWithinHeight:(CGFloat)height;
- (nonnull UIImage*)resizeWithinHeight:(CGFloat)height;

- (UIImage*)resizeWithinWidth:(CGFloat)width;
- (nonnull UIImage*)resizeWithinWidth:(CGFloat)width;

- (UIImage*)resizeWithinWidth:(CGFloat)width height:(CGFloat)height;
- (nonnull UIImage*)resizeWithinWidth:(CGFloat)width height:(CGFloat)height;

@end
4 changes: 2 additions & 2 deletions UIImage+RoundCorners.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

@interface UIImage (RoundCorners)

+ (UIImage*)imageNamed:(NSString*)name cornerRadius:(CGFloat)cornerRadius;
+ (nullable UIImage*)imageNamed:(nullable NSString*)name cornerRadius:(CGFloat)cornerRadius;

- (UIImage*)roundedImageWithCornerRadius:(CGFloat)cornerRadius;
- (nullable UIImage*)roundedImageWithCornerRadius:(CGFloat)cornerRadius;

@end
8 changes: 4 additions & 4 deletions UIImage+Tinted.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
*/
@interface UIImage (Tinted)

+ (UIImage *)tintedFlatImageNamed:(NSString *)name colored:(UIColor*)color;
+ (UIImage *)tintedLuminousImageNamed:(NSString *)name colored:(UIColor*)color;
+ (nullable UIImage *)tintedFlatImageNamed:(nullable NSString *)name colored:(nonnull UIColor*)color;
+ (nullable UIImage *)tintedLuminousImageNamed:(nullable NSString *)name colored:(nonnull UIColor*)color;

- (UIImage *)tintedFlatImageUsingColor:(UIColor *)tintColor;
- (UIImage *)tintedLuminousImageUsingColor:(UIColor *)tintColor;
- (nonnull UIImage *)tintedFlatImageUsingColor:(nonnull UIColor *)tintColor;
- (nonnull UIImage *)tintedLuminousImageUsingColor:(nonnull UIColor *)tintColor;

@end
2 changes: 1 addition & 1 deletion UIImage+fixOrientation.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

@interface UIImage (fixOrientation)

- (UIImage *)fixOrientation;
- (nonnull UIImage *)fixOrientation;

@end