Skip to content

Quickly reproduce the dropdown UIPickerView / ActionSheet functionality from Safari on iPhone/ iOS / CocoaTouch.

License

Notifications You must be signed in to change notification settings

bthj/ActionSheetPicker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActionSheetPicker = UIPickerView + UIActionSheet

Well, that's how it started. Now, the following is more accurate:

  • iPhone/iPod ActionSheetPicker = ActionSheetPicker = A Picker + UIActionSheet
  • iPad ActionSheetPicker = A Picker + UIPopoverController

Overview

ActionSheetPicker https://github.com/TimCinel/ActionSheetPicker

Easily present an ActionSheet with a PickerView, allowing user to select from a number of immutible options. Based on the HTML drop-down alternative found in mobilesafari.

Improvements more than welcome - they are kindly requested :)

Benefits

  • Spawn pickers with convenience function - delegate or reference not required. Just provide a target/action callback.
  • Add buttons to UIToolbar for quick selection (see ActionSheetDatePicker below)
  • Delegate protocol available for more control
  • Universal (iPhone/iPod/iPad)

Screen Shots

ActionSheetPicker ActionSheetDatePicker ActionSheetDistancePicker iPad Support

Credits

Thanks to all of the contributors for making ActionSheetPicker better for the iOS developer community. See AUTHORS for details.

Contributors

Filote Stefan

Brett Gibson

John Garland (iPad!)

Mark van den Broek

Evan Cordell

Greg Combs (Refactor!)

Creator

Tim Cinel

@TimCinel

timcinel.com/

About

Quickly reproduce the dropdown UIPickerView / ActionSheet functionality from Safari on iPhone/ iOS / CocoaTouch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published