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

Single button delete, finishes animation swipe prior to confirmation #82

Open
thorst opened this issue Sep 28, 2014 · 0 comments
Open
Labels

Comments

@thorst
Copy link

thorst commented Sep 28, 2014

I think this is my last issue. I'd like to say thanks for this lib and it works and looks great. It was easy to implement and hasn't given me any real issues.

I noticed that on my right swipe, where there is only one button and its a delete "exit" one, the first 24% the button is grey, then at >=25% it turns red. If I drag to 27% and let go it will animate the remaining 73% before executing the completionBlock, where I have the confirmation alert (like the demo). This doesnt look odd if the cell has momentum and you let go at >=75%, but letting go so early (while still satisfying the percentage) makes it look quite odd.

To me the solution would be to swipeTableViewCellDidEndSwiping which fires immediately.

The question:
Can you tell what the action they were using was a satisfied percentage, and what action they were doing. In other words, I have the cell they were swiping on, but were they deleting, or wanting more options, or did they only go to 20% and therefore "abort" that swipe.

Please let me know if I made any sense and if it is possible.

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

No branches or pull requests

2 participants