Cocbin
Cocbin
可以使用event设置点击事件,如下: ``` objective-c section.event(^(NSUInteger index,id row) { CustomViewController * controller = [CustomViewController new]; controller.viewModel.data = row; [self.navigationController pushViewController:controller animated:YES]; }); ``` 需要注意的是,event是针对section的,参数index表示点击的cell在该section下的下标,而row表示当前下标的数据。
目前还不支持,下一个版本会改进
设计的时候是以iOS8为目标的,所以pod一直设置为iOS8,但事实上现有的代码可以兼容到更低的版本。如果你需要兼容低版本,可以直接将代码放到你的程序中
The framework did not support this yet,I will add it as soon as possible. Thanks for your advice.
I have already dealt with your issue,and make framework able to setting section header and footer. Please download last vision of this framework form github (because i have not update...
Thinks for your feedback and criticism. I set a empty `tableFooterView` in `- cb_makeDataSource:` and `- cb_makeSectionWithData:` in order to make regular table view (`UITableView` which set up `UITableViewStylePlain` as...
I like first one too. However, most of the time we usually use custom cell.