-
Just drop a normal UIView into your Storyboard and change the class to HorizontalPickerView. Make sure the module is set to HorizontalPicker.
-
import HorizontalPicker module
-
Add IBOutlets to the newly created view and set the dataSource and delegate attributes.
-
Make your class compatible with HorizontalPickerViewDataSource and HorizontalPickerViewDelegate protocol.
-
Implement the required methods and you are good to go.
HorizontalPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
pod 'HorizontalPicker', '~> 2.0'
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate HorizontalPicker into your Xcode project using Carthage, specify it in your Cartfile
:
github "HHuckebein/HorizontalPicker" ~> 2.0
Run carthage
to build the framework and drag the built HorizontalPicker.framework
into your Xcode project.
RABE_IT Services, development@berndrabe.de
HorizontalPicker is available under the MIT license. See the LICENSE file for more info.