iOS: rename category name, avoid duplicated class name

This commit is contained in:
pengfei.zhou 2023-07-21 10:33:07 +08:00 committed by osborn
parent 761a6f67a4
commit f1e3ef5e6b
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DoricGravity) {
@end
@interface UIView (DoricLayout)
@interface UIView (DoricLayoutCategory)
@property(nonatomic, strong) DoricLayout *doricLayout;
@end

View File

@ -76,7 +76,7 @@ @interface DoricShapeLayer : CAShapeLayer
@implementation DoricShapeLayer
@end
@implementation UIView (DoricLayout)
@implementation UIView (DoricLayoutCategory)
@dynamic doricLayout;
- (void)setDoricLayout:(DoricLayout *)doricLayout {