joseria / JASwipeCell

iOS 8 Mail Inspired. A UITableViewCell subclass that displays customizable left or right buttons that are revealed as the user swipes the cell in either direction. The edge-most buttons will pin to the container view and will execute an event similar to how the delete/archive button work in IOS 8 mail.
MIT License
367 stars 53 forks source link

Need a way to change button width. #6

Closed Voloda2 closed 9 years ago

Voloda2 commented 9 years ago

joseria, thanks for cool project.

Need a way to change button width. Now button width is static constant. I can't change its from my own class.

joseria commented 9 years ago

Thanks! Did you check out JASwipeCell's :

When you add and array of buttons to either the left or the right side you can specify the width you want those buttons to have. This currently sets all the buttons on a side to the same width.