File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style {
37
37
38
38
_headerFooterViewClassForReuseIdentifier = [NSMutableDictionary dictionary ];
39
39
_sizingHeaderFooterViewsForReuseIdentifier = [NSMutableDictionary dictionary ];
40
+
41
+ self.estimatedSectionHeaderHeight = 0 ;
42
+ self.estimatedSectionFooterHeight = 0 ;
40
43
}
41
44
return self;
42
45
}
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSIntege
150
150
[self tableView: tableView configureHeader: headerView forSection: section];
151
151
return [headerView heightForWidth: CGRectGetWidth (tableView.bounds)];
152
152
} else {
153
- return UITableViewAutomaticDimension ;
153
+ return 0 ;
154
154
}
155
155
}
156
156
@@ -164,7 +164,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSIntege
164
164
[self tableView: tableView configureFooter: footerView forSection: section];
165
165
return [footerView heightForWidth: CGRectGetWidth (tableView.bounds)];
166
166
} else {
167
- return UITableViewAutomaticDimension ;
167
+ return 0 ;
168
168
}
169
169
}
170
170
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'YLTableView'
3
- s . version = '2.1.0 '
3
+ s . version = '2.1.1 '
4
4
s . license = { :type => 'Apache 2' , :file => 'LICENSE.txt' }
5
5
s . summary = 'Yelp iOS table view framework'
6
6
s . homepage = 'https://github.com/Yelp/YLTableView'
You can’t perform that action at this time.
0 commit comments