File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 88
99Pod ::Spec . new do |s |
1010 s . name = 'LPDTableViewKit'
11- s . version = '0.1.9 '
11+ s . version = '0.2.0 '
1212 s . summary = 'LPDTableViewKit, data driven tableview'
1313
1414# This description is used to generate tags and improve search results.
Original file line number Diff line number Diff line change @@ -53,6 +53,12 @@ @implementation LPDTableViewFactory
5353 return nil ;
5454}
5555
56+ - (__kindof id <LPDTableItemViewModelProtocol>)headerWithViewModel : (__kindof id <LPDTableItemViewModelProtocol>)viewModel
57+ tableView : (UITableView *)tableView {
58+ return [self hfWithViewModel: viewModel tableView: tableView];
59+ }
60+
61+
5662- (__kindof id <LPDTableViewItemProtocol>)tableViewModel : (__kindof id <LPDTableViewModelProtocol>)tableViewModel
5763 footerForTableView : (UITableView *)tableView
5864 atSection : (NSInteger )sectionIndex {
@@ -64,6 +70,12 @@ @implementation LPDTableViewFactory
6470 return nil ;
6571}
6672
73+ - (__kindof id <LPDTableItemViewModelProtocol>)footerWithViewModel : (__kindof id <LPDTableItemViewModelProtocol>)viewModel
74+ tableView : (UITableView *)tableView {
75+ return [self hfWithViewModel: viewModel tableView: tableView];
76+ }
77+
78+
6779- (__kindof id <LPDTableViewItemProtocol>)hfWithViewModel : (__kindof id <LPDTableItemViewModelProtocol>)viewModel
6880 tableView : (UITableView *)tableView {
6981 Class viewClass = NSClassFromString (viewModel.reuseViewClass );
You can’t perform that action at this time.
0 commit comments