SWRevealTableViewCell icon indicating copy to clipboard operation
SWRevealTableViewCell copied to clipboard

buttons stack on top

Open Fredehagelund92 opened this issue 10 years ago • 2 comments

I have a cell height at 200. Is it possible to add the buttons on top of each other instead of next to each other or would that be a bigger implementation?

Fredehagelund92 avatar Aug 03 '14 11:08 Fredehagelund92

Sorry, this is not possible with the current implementation. Sometime in the future I may add the possibility to specify a custom view for the SWCellButtonItem (similar to the customView property of UIBarButtonItems). So you will be able to stack your buttons vertically on a view and pass that view as a the customView of a single SWCellButtonItem to get the effect you want. Thanks

John-Lluch avatar Aug 03 '14 22:08 John-Lluch

I would also like to "vote" for this enhancement. Adding a custom UIView as you describe would be sufficient -- with the ability to receive or detect the touch coordinates in the handler function. Thanks for a great library!

tomhoag avatar Mar 30 '15 12:03 tomhoag