let picker = BUStringPicker("Users", values: values, initialValue: 1, onSuccess: { (row, value) in
}, onCancel: {
})
picker.show()
To run the example project, clone the repo, and run pod install
from the Example directory first.
BUStringPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'BUStringPicker'
You can customize the picker with the functions below
setTitle(font:UIFont? )
setDoneButtonTitle(_ title: String, font:UIFont?, textColor:UIColor)
setCancelButtonTitle(_ title: String, font:UIFont?, textColor:UIColor )
setPickerFont(_ font: UIFont?, _ textColor: UIColor, _ aligment: NSTextAlignment)
Burak Üstün, burakustn@gmail.com
BUStringPicker is available under the MIT license. See the LICENSE file for more info.