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

Can I use (and how) to use multiple pickers in the same view controller? #27

Closed boazFrenkel closed 9 years ago

vincentvillalta commented 9 years ago

Maybe this helps, im using several pickers and using tags to provide the numberOfRows and titleForRow methods

Something like this:

// UIPickerViewDelegates

CooperRS commented 9 years ago

Depends on what you want. If you want use multiple pickers at different times, you may use the solution @vincentvillalta provided (using tags).

If you want to show multiple pickers at the same time, tell me ;). Currently I'm working on a new version of RMDateSelectionViewController (see branch MoreButtons).Originally, in this version I wanted to use a UIAlertController-like interface to add custom defined buttons to RMDateSelectionViewController. But at the moment I'm thinking of unifying RMDateSelectionViewController and RMPickerViewController by enabling the user to add custom views instead of only custom buttons.

CooperRS commented 9 years ago

Closing due to missing response...