fastred / AHKActionSheet

An alternative to the UIActionSheet inspired by the Spotify app.
MIT License
1.16k stars 130 forks source link

Add accessory parameter to enable to put a accessory on buttons. #15

Closed Matsue closed 9 years ago

Matsue commented 10 years ago

Added UITableViewCellAccessory parameter to enable to put a accessory on buttons of the AHKActionSheet.

This commit enable to set UITableViewCellAccessory on the buttons. Default accessory parameter is UITableViewCellAccessoryNone if people do not set the parameter.

fastred commented 9 years ago

I won't be merging this, because some accessories (e.g. UITableViewCellAccessoryDetailDisclosureButton) track touches, so we'd have to add additional block to handle them. I don't want to further complicate the API.