iOS add View Node

This commit is contained in:
pengfei.zhou
2019-07-30 21:05:27 +08:00
parent 5d710b5b97
commit 20986340d7
17 changed files with 547 additions and 335 deletions

View File

@@ -12,6 +12,12 @@ @implementation DoricRect
@end
@implementation LayoutParams
- (instancetype)init {
if (self = [super init]) {
_margin = [[DoricRect alloc] init];
}
return self;
}
@end
@@ -37,13 +43,13 @@ - (void)measure {
@end
@implementation Stack
@end
@implementation LinearLayout
@end
@implementation VLayout
@end
@implementation HLayout
@end