Coder Social home page Coder Social logo

cbtableviewdatasource's People

Contributors

cocbin avatar corevk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cbtableviewdatasource's Issues

Generic Thoughts

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.

How to add a header for section

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 ?

autoHeight怎么添加约束?

如果手写代码的话,在UILabel内容较多的时候如果计算呢?我今天试了下,好像计算的高度都有些问题

cb_makeDataSource方法设置Section没有cb_makeSectionWithData简便

是这样, cb_makeSectionWithData 这个方法可以很简单的传入 data即可生成最基本的带样式的表格.但是缺点就是能有一个section. 那么如果想要两个section的话,就必须调用cb_makeDataSource这个方法,而这个方法需要传入的参数非常的多,如果不调用section.cell()还会直接报错,哪怕我只需要UITableViewCell这个,我还是需要注册一次,并且实现adapter()方法.

期望在使用cb_makeDataSource方法时,对于CBTableViewSectionMaker这个也能有像cb_makeSectionWithData那样的简便实现方式.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.