feat:step2

This commit is contained in:
pengfei.zhou
2019-11-27 15:28:39 +08:00
parent bb9e6671f6
commit af8a455d46
4 changed files with 58 additions and 251 deletions

View File

@@ -51,19 +51,6 @@ - (void)blend:(NSDictionary *)props {
[super blend:props];
[self blendHeader];
[self blendContent];
dispatch_async(dispatch_get_main_queue(), ^{
[self.view also:^(DoricSwipeRefreshLayout *layout) {
[layout layoutSelf];
[layout.contentView also:^(UIView *it) {
it.x = it.y = 0;
}];
[layout.headerView also:^(UIView *it) {
it.bottom = 0;
it.centerX = layout.width / 2;
}];
layout.contentSize = layout.frame.size;
}];
});
}
- (void)blendContent {