iOS: refact whole DoricLayout's measure process

This commit is contained in:
pengfei.zhou 2022-08-24 14:19:10 +08:00 committed by osborn
parent f849d4bb34
commit 2ba4323c7c
2 changed files with 684 additions and 566 deletions

View File

@ -105,11 +105,8 @@ typedef NS_ENUM(NSInteger, DoricGravity) {
@property(nonatomic, assign) UIEdgeInsets corners; @property(nonatomic, assign) UIEdgeInsets corners;
@property(nonatomic, assign) CGFloat contentWidth; @property(nonatomic, assign) CGFloat totalLength;
@property(nonatomic, assign) CGFloat contentHeight;
@property(nonatomic, assign) CGFloat contentWeight;
- (instancetype)init; - (instancetype)init;
- (void)measure:(CGSize)targetSize; - (void)measure:(CGSize)targetSize;

File diff suppressed because it is too large Load Diff