iOS:refact requestLayout logic

This commit is contained in:
pengfei.zhou
2020-04-08 11:57:38 +08:00
committed by osborn
parent 95d9158fac
commit b17ff48c59
11 changed files with 27 additions and 46 deletions

View File

@@ -161,4 +161,9 @@ - (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
return nil;
}
- (void)requestLayout {
for (DoricViewNode *node in self.childNodes) {
[node requestLayout];
}
}
@end