[Feature Request] Allow delegation of UITableViewDataSource methods #59

Open
pulkitsinghal opened this Issue Dec 5, 2012 · 0 comments

Comments

Projects
None yet
1 participant

It would be great if the out-of-box CouchUITableSource would use the [self tellDelegate: @selector(... convention with methods of UITableViewDataSource such as tableView:canEditRowAtIndexPath:

For example, currently we have:

- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
    return _deletionAllowed;
}

This doesn't allow us to do clever things such as mixin our own conditions for which rows can be deleted and which cannot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment