Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 41 lines (30 sloc) 1.56 kb

DSTPickerView

Drop-in replacement for UIPickerView with additional features.

If you use DSTPickerView in your app, please drop me a line so that I can add your app here!

  1. Fully resizable, no 216 pixels maximum size
  2. Themeable, change the background gradient, the color of the selection bar, enable and disable shine
  3. Set element distance. Have small elements but many? Increase the padding to make the picker better to touch
  4. Configure the font and color of individual rows in the picker
  5. Add images to the picker
  6. Add custom views to the picker
  7. Mix em all up
  8. Provide titles for the components

The good:

  • No additional images needed, just drop DSTPickerView.h and DSTPickerView.m into your Project and start using it.
  • If you already have implemented a UIPickerView just replace it's class name with DSTPickerView and you're ready to go.

The ugly:

  • Clicking sounds are not 100% identical to the original picker.
  • Uses "Magic Number" to access the click sound from iOS, so it may not disable the click sounds even if the user did so in the settings App.
  • Not 100% pixel perfect but damn close

The Bad:

  • Has not been tested for accessibility

Screenshots

Original Apple UIPickerView

UIPickerView

Custom DSTPickerView

DSTPickerView

Apps using DSTPickerView

  • CEWE FOTOWELT (unreleased)
Something went wrong with that request. Please try again.