1234567891011121314151617 |
- //
- // NSNumber+Adapt.h
- //
- // Created by YoMi on 2022/6/21.
- //
- #import <UIKit/UIKit.h>
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- #define adapt(Num) [NSNumber auto_AdaptaionWithNumber:(Num)]
- @interface NSNumber (Adapt)
- + (CGFloat)auto_AdaptaionWithNumber:(CGFloat)num;
- @end
- NS_ASSUME_NONNULL_END
|