UIPickerActionSheet

While working on an iOS project, I needed to display a single-selection widget so the user could select one option modally, kinda like how drop-downs are handled in Safari. I found a few examples on the web which tackled this problem, but none that could be easily reused. So I decided to create such a widget.

The result is UIPickerActionSheet, which is basically a UIPickerView inside a UIActionSheet. It also has a top bar with Done and Cancel buttons.

UIPickerActionSheet

Source code:
https://github.com/jenrique7/uipickeractionsheet

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s