New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some object-state methods on NITableViewActions #388

Merged
merged 1 commit into from May 7, 2013

Conversation

Projects
None yet
2 participants
@darrenw
Contributor

darrenw commented May 7, 2013

Adds a couple of methods to NITableViewActions to allow callers to know which accessory type or selection style the NITableViewActions instance would set for the cell for a given object.
This is required because callers may need to know if accessories are present when calculating layout such as the height of cells, but the only way for layout code to find out if they have accessories at the moment is to call tableView:willDisplayCell:forRowAtIndexPath:, which has the side effect of lying to the viewcontroller about which cells are being displayed.

Add methods to get information from an NITableViewActions object abou…
…t which cell accessory it would provide for a particular object

jverkoey added a commit that referenced this pull request May 7, 2013

Merge pull request #388 from darrenw/TableActionsInfo
Add some object-state methods on NITableViewActions

@jverkoey jverkoey merged commit 15120ae into jverkoey:master May 7, 2013

@jverkoey

This comment has been minimized.

Show comment
Hide comment
@jverkoey

jverkoey May 7, 2013

Owner

Nice :) This looks awesome.

Owner

jverkoey commented May 7, 2013

Nice :) This looks awesome.

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