BUStringPicker
Usage
let picker = BUStringPicker("Users", values: values, initialValue: 1, onSuccess: { (row, value) in
}, onCancel: {
})
picker.show()
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
BUStringPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'BUStringPicker'
Customization
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)
Author
Burak Üstün, [email protected]
License
BUStringPicker is available under the MIT license. See the LICENSE file for more info.