BUStringPicker
使用方法
let picker = BUStringPicker("Users", values: values, initialValue: 1, onSuccess: { (row, value) in
}, onCancel: {
})
picker.show()示例
要运行示例项目,请克隆仓库,然后从Example目录中首先运行pod install
安装
BUStringPicker可以通过CocoaPods获得。要安装它,只需将以下行添加到Podfile中
pod 'BUStringPicker'定制化
您可以使用以下功能定制选择器
setTitle(font:UIFont? ) setDoneButtonTitle(_ title: String, font:UIFont?, textColor:UIColor) setCancelButtonTitle(_ title: String, font:UIFont?, textColor:UIColor ) setPickerFont(_ font: UIFont?, _ textColor: UIColor, _ aligment: NSTextAlignment) 作者
巴拉克·乌斯特恩,[email protected]
许可协议
BUStringPicker可在MIT许可下使用。请参阅LICENSE文件以获取更多信息。
