Skip to content

Generic Thoughts #5

@Daniate

Description

@Daniate

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions