iOS refact DoricLayout

This commit is contained in:
pengfei.zhou
2020-04-03 16:36:43 +08:00
committed by osborn
parent ca6a3284f2
commit abbe0ba377
32 changed files with 540 additions and 761 deletions

View File

@@ -21,14 +21,13 @@
//
#import "DoricStackNode.h"
#import "DoricExtensions.h"
@implementation DoricStackNode
- (DoricStackView *)build {
return [DoricStackView new];
}
- (void)blendView:(DoricStackView *)view forPropName:(NSString *)name propValue:(id)prop {
[super blendView:view forPropName:name propValue:prop];
- (UIView *)build {
return [[UIView new] also:^(UIView *it) {
it.doricLayout.layoutType = DoricStack;
}];
}
@end