feat:fix iOS render weight prop
This commit is contained in:
@@ -530,23 +530,3 @@ - (UIView *)viewWithTagString:(NSString *)tagString {
|
||||
layout.layoutConfig = [[DoricLayoutConfig alloc] initWithWidth:DoricLayoutWrapContent height:DoricLayoutWrapContent];
|
||||
return layout;
|
||||
}
|
||||
|
||||
DoricVLayoutView *vLayoutWithBlock(NSArray <UIView *(^)()> *blocks) {
|
||||
DoricVLayoutView *layout = [[DoricVLayoutView alloc] initWithFrame:CGRectZero];
|
||||
UIView *(^block)();
|
||||
for (block in blocks) {
|
||||
[layout addSubview:block()];
|
||||
}
|
||||
layout.layoutConfig = [[DoricLayoutConfig alloc] initWithWidth:DoricLayoutWrapContent height:DoricLayoutWrapContent];
|
||||
return layout;
|
||||
}
|
||||
|
||||
DoricHLayoutView *hLayoutWithBlock(NSArray <UIView *(^)()> *blocks) {
|
||||
DoricHLayoutView *layout = [[DoricHLayoutView alloc] initWithFrame:CGRectZero];
|
||||
UIView *(^block)();
|
||||
for (block in blocks) {
|
||||
[layout addSubview:block()];
|
||||
}
|
||||
layout.layoutConfig = [[DoricLayoutConfig alloc] initWithWidth:DoricLayoutWrapContent height:DoricLayoutWrapContent];
|
||||
return layout;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user