Skip to content

Commit

Permalink
iOS: rename category name, avoid duplicated class name
Browse files Browse the repository at this point in the history
  • Loading branch information
penfeizhou committed Jul 21, 2023
1 parent 761a6f6 commit f1e3ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doric-iOS/Pod/Classes/Shader/DoricLayouts.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DoricGravity) {
@end


@interface UIView (DoricLayout)
@interface UIView (DoricLayoutCategory)
@property(nonatomic, strong) DoricLayout *doricLayout;
@end

Expand Down
2 changes: 1 addition & 1 deletion doric-iOS/Pod/Classes/Shader/DoricLayouts.m
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ @interface DoricShapeLayer : CAShapeLayer
@implementation DoricShapeLayer
@end

@implementation UIView (DoricLayout)
@implementation UIView (DoricLayoutCategory)
@dynamic doricLayout;

- (void)setDoricLayout:(DoricLayout *)doricLayout {
Expand Down

0 comments on commit f1e3ef5

Please sign in to comment.