Skip to content

buracules/BUStringPicker

Repository files navigation

BUStringPicker

CI Status Version License Platform

drawing

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, burakustn@gmail.com

License

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

About

Accessible String Picker for Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published