designatednerd / DNSSwipeableTableCell

UITableViewCell subclass to add multiple buttons to a swipe-under menu like iOS 7 Mail.
MIT License
175 stars 24 forks source link

closing other cells #4

Closed kylebuttress closed 10 years ago

kylebuttress commented 10 years ago

Is it possible to close any other open cell as you slide a new cell open?

and have you an option for sliding the opposite way?

designatednerd commented 10 years ago

In terms of closing when the new cell opens, you should be able to use the swipeableCellDidOpen: delegate method to see when a cell opens, and then close any previously open cell using the closeCell: method.

At the moment, there is not a way to slide the opposite way - I'll leave this issue open so I can track this as a request.

kylebuttress commented 10 years ago

thanks that worked just as I needed it for the closing of already open cells

designatednerd commented 10 years ago

Excellent. After thinking about it more for clarity I'm going to open a seperate issue for sliding the opposite way.