use with only one side
Closed this issue · 3 comments
empty right menu - get error
Fixed issue. You should be able to use it with action buttons on both sides, one side only, or none.
Has this been solved? I'm having trouble only using buttons on the right side.
Right now the user can still swipe right on the cell, and then an exception is thrown, because it's expecting an array of buttons for the left side:
'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
How can I disable buttons for the left side, and only have buttons on the right side?
I was experiencing this issue because I used the version currently listed at http://cocoapods.org/
If you use the most recent version, which is only available on GitHub, then you will no longer experience this issue when trying to use buttons on only one side of the cell.