Skip to content
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

Added public API to show the left and right utility buttons programmatically (related to #97). #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zygoat
Copy link
Contributor

@zygoat zygoat commented Apr 21, 2014

New methods showLeftUtilityButtonsAnimated: and showRightUtilityButtonsAnimated: are counterparts to the existing hideUtilityButtonsAnimated:.

Added a toggle switch in the demo app that, when turned on, will exercise this functionality in response to row selection.

Also re-organized the code in ViewController.m a little bit (some of the UITableView protocol methods were strewn around).

…tically (related to CEWendel#97).

New methods -showLeftUtilityButtonsAnimated: and -showRightUtilityButtonsAnimated: are counterparts to the existing hideUtilityButtonsAnimated:.

Added a toggle switch in the demo app that, when turned on, will exercise this functionality in response to row selection (via tableView:willSelectCellAtIndexPath:).

Also re-organized the code ViewController.m a little bit (some of the UITableView protocol methods were strewn around).
@rex-remind101
Copy link
Contributor

👍 this should be a thing, why is this not a thing?

@tempire
Copy link

tempire commented Apr 30, 2014

👍

@CEWendel
Copy link
Owner

CEWendel commented May 3, 2014

For some reason with this commit the cell is swipped from side-to-side almost too easily. What I mean by that is if you have utility buttons on both sides and open up one of them then try to slide it closed it slides all the way over to the other side of utility buttons. Are you guys seeing this too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants