CooperRS / RMPickerViewController

This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner
MIT License
381 stars 51 forks source link

Customisation of buttons #20

Closed mkoppanen closed 9 years ago

mkoppanen commented 9 years ago

Hello,

it would be nice to have customisation options on the Cancel and Select buttons. Currently the buttons seems to be fairly hardcoded in setupUIElements (colors, font etc).

I will probably modify the code to support this and can open a PR if it's of interest to wider audience?

CooperRS commented 9 years ago

I would be happy to merge your PR! :)

JulesMoorhouse commented 9 years ago

@mkoppanen @CooperRS did this pull request happen? or is there a workaround?

CooperRS commented 9 years ago

Unfortunately, this pull request did not happen yet. I'm sorry, didn't find the time yet :/

mkoppanen commented 9 years ago

@Jules2010,

you can probably use the code in #22 if it suits your needs

CooperRS commented 9 years ago

RMPickerViewController has been updated to version 2.0.0 which allows adding arbitrary buttons by subclassing RMAction and RMGroupedAction.