cocbin / cbtableviewdatasource Goto Github PK
View Code? Open in Web Editor NEWJust one line to create DataSource and Delegate for UITableView.
License: MIT License
Just one line to create DataSource and Delegate for UITableView.
License: MIT License
不支持一个section中有不同的cell的配置
是这样, cb_makeSectionWithData 这个方法可以很简单的传入 data即可生成最基本的带样式的表格.但是缺点就是能有一个section. 那么如果想要两个section的话,就必须调用cb_makeDataSource这个方法,而这个方法需要传入的参数非常的多,如果不调用section.cell()还会直接报错,哪怕我只需要UITableViewCell这个,我还是需要注册一次,并且实现adapter()方法.
期望在使用cb_makeDataSource方法时,对于CBTableViewSectionMaker这个也能有像cb_makeSectionWithData那样的简便实现方式.
你好,问一哈,cell的点击事件,怎么使用,多谢
横屏时不能显示完全
when I use this , I try to add a header view for a section, but it just works for the first section.How to add it to other sections ?
如果手写代码的话,在UILabel内容较多的时候如果计算呢?我今天试了下,好像计算的高度都有些问题
为什么只支持IOS8以上的
Why set tableFooterView
in - cb_makeDataSource:
and - cb_makeSectionWithData:
if(!self.tableFooterView) {
self.tableFooterView = [UIView new];
}
If set tableFooterView
, where is tableHeaderView
?
For grouped table view,return 0 in - tableView:heightForHeaderInSection:
and - tableView:heightForFooterInSection:
can cause table view use default height(not 0, greater than 30) for headers and footers, for this reason, return a small enough value (for example, FLT_EPSILON
or DBL_EPSILON
), then the height will be simulate 0.
This toolkit is very useful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.