Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 2.31 KB

README.md

File metadata and controls

54 lines (36 loc) · 2.31 KB

TTHorizontalPicker

A custom UIView that acts as a horizontal value picker. It is designed to scale depending on the size of the view and accepts values from plists. You can change the font, gradient start/end color, horizontal and vertical line colors and gradient direction.

Version License Platform

Apps using this control

Triggertrap: Camera remote for your SLR

Triggertrap Timelapse Pro: Intervalometer for your camera

Setup

Installing with CocoaPods

If you're unfamiliar with CocoaPods there is a great tutorial here to get you up to speed.

  1. In Terminal navigate to the root of your project.
  2. Run 'touch Podfile' to create the Podfile.
  3. Open the Podfile using 'open -e Podfile'
  4. Add the pod TTHorizontalPicker to your Podfile.
pod 'TTHorizontalPicker'
  1. Run pod install.
  2. Open your app's .xcworkspace file to launch Xcode and start using the control!

Installing manually from GitHub

  1. Download the TTHorizontalPicker.h, TTHorizontalPicker.m, TTGradientView.h and TTGradientView.m files from the Source folder and add them to your Xcode project.
  2. #import TTHorizontalPicker.h wherever you need it.
  3. Follow the included sample project to get started.

Author

Valentin Kalchev

Ross Gibson

Triggertrap Limited

License

TTHorizontalPicker is available under the MIT license. See the LICENSE file for more info.