Sina Moetakef

1pod

SMNumberWheel

SMNumberWheel is a custom made control (subclass of UIControl) for iOS, written in Swift, which is ideal for picking numbers instead of typing them by software keyboards. The main idea is to be able to pick numbers very fast and and yet accurate. The wheel works with reading the angular speed of user's finger. The slower you spin the wheel, the more accurate values are resulted (up to 4 fraction digits accurate). The more rotation speed results in exponentially faster value changes.

features: - Connection to code: Target Actions (drag to code) + Delegate methods. - Reads user hand's movement speed, so that picking numbers are fast and also very accurate. - Built-in buttons: Stepper buttons and central reset button - Highly customizable through properties which results in thousands of different designs. - Renders in InterfaceBuilder, has customizable properties visible with Attributes Inspector (InterfaceBuilder) - Supports sounds and haptic feedbacks (iPhone 7 and iPhone 7+) - Supports Carthage

License: MIT

  • Swift