1234567891011121314151617181920212223242526 |
- //
- // NSObject+Extensions.h
- // Private-X
- //
- // Created by xd h on 2024/5/26.
- //
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface NSObject (Extensions)
- @end
- @interface UIImage (Extentions)
- - (UIImage *)getSubImage:(CGRect)rect;
- // 裁剪图片
- - (UIImage *)imageByResizeToSize:(CGSize)size;
- @end
- NS_ASSUME_NONNULL_END
|