refact:change field name from scheme to source
This commit is contained in:
@@ -463,22 +463,3 @@ - (void)layoutSelf:(CGSize)targetSize {
|
||||
}
|
||||
}
|
||||
@end
|
||||
|
||||
|
||||
DoricVLayoutView *vLayout(NSArray <__kindof UIView *> *views) {
|
||||
DoricVLayoutView *layout = [[DoricVLayoutView alloc] initWithFrame:CGRectZero];
|
||||
for (__kindof UIView *uiView in views) {
|
||||
[layout addSubview:uiView];
|
||||
}
|
||||
layout.layoutConfig = [[DoricLayoutConfig alloc] initWithWidth:DoricLayoutWrapContent height:DoricLayoutWrapContent];
|
||||
return layout;
|
||||
}
|
||||
|
||||
DoricHLayoutView *hLayout(NSArray <__kindof UIView *> *views) {
|
||||
DoricHLayoutView *layout = [[DoricHLayoutView alloc] initWithFrame:CGRectZero];
|
||||
for (__kindof UIView *uiView in views) {
|
||||
[layout addSubview:uiView];
|
||||
}
|
||||
layout.layoutConfig = [[DoricLayoutConfig alloc] initWithWidth:DoricLayoutWrapContent height:DoricLayoutWrapContent];
|
||||
return layout;
|
||||
}
|
||||
|
Reference in New Issue
Block a user