MCSwipeTableViewCell icon indicating copy to clipboard operation
MCSwipeTableViewCell copied to clipboard

Set swipe percentage programmatically

Open eytanbiala opened this issue 10 years ago • 3 comments

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

eytanbiala avatar Jul 28 '14 04:07 eytanbiala

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;

thorst avatar Sep 28 '14 18:09 thorst

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.

eytanbiala avatar Sep 30 '14 15:09 eytanbiala

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.

joeblau avatar Feb 11 '15 03:02 joeblau