Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

Set swipe percentage programmatically #75

Open
eytanbiala opened this issue Jul 28, 2014 · 3 comments
Open

Set swipe percentage programmatically #75

eytanbiala opened this issue Jul 28, 2014 · 3 comments

Comments

@eytanbiala
Copy link

Allow setting swipe state for a cell, so it can be programmatically controlled to show the swipe animation.

@thorst
Copy link

thorst commented Sep 28, 2014

Are you saying you want to show the swipe options programmatically? (If so that doesn't make sense to me as they bounce back or remove the cell)

Or are you asking for the ability to change the points at which they are considered activating that button:

cell.firstTrigger = 0.25;
cell.secondTrigger = 0.5;

@eytanbiala
Copy link
Author

Yes I'd like to show the swipe options programatically. Currently there's no indication to a user that the cell can be swiped. Showing the swipe options, then bouncing back after a short delay would be fine.

@joeblau
Copy link
Contributor

joeblau commented Feb 11, 2015

This would be helpful if you're trying to instrument a global swipe like how Mailbox has a way to clear all. It's only 1 cell at the bottom, but it swipes all of the cells concurrently.

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

No branches or pull requests

4 participants