CSPickerController
public class CSPickerController : CSViewController, CSPickerVisibleProtocol, UIPickerViewDelegate, UIPickerViewDataSource
Undocumented
-
Undocumented
Declaration
Swift
public var isPickerVisible: Bool -
Undocumented
Declaration
Swift
public static var toolBarColor: UIColor? -
Undocumented
Declaration
Swift
public static var toolBarItemTextColor: UIColor? -
Undocumented
Declaration
Swift
public static var pickerBackgroundColor: UIColor? -
Undocumented
Declaration
Swift
public static var itemTextColor: (normal: UIColor, selected: UIColor)? -
Undocumented
Declaration
Swift
public static var itemBackgroundColor: (normal: UIColor, selected: UIColor)? -
Undocumented
Declaration
Swift
public static var itemFont: (normal: UIFont, selected: UIFont)? -
Undocumented
Declaration
Swift
public static var selectedItemBorder: (width: CGFloat, color: UIColor, radius: CGFloat)? -
Undocumented
Declaration
Swift
@discardableResult public func showPicker(from parent: UIViewController, title: String, items: [CustomStringConvertible], selected selectedIndex: Int, from displayElement: CSDisplayElement, onCancel: Func?, onDone: @escaping ArgFunc<Int>) -> CSPickerVisibleProtocol -
Undocumented
Declaration
Swift
public func numberOfComponents(in pickerView: UIPickerView) -> Int -
Undocumented
Declaration
Swift
public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int -
Undocumented
Declaration
Swift
public func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusing view: UIView?) -> UIView -
Undocumented
Declaration
Swift
public func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) -
Undocumented
Declaration
Swift
public func hidePicker(animated: Bool = true)
View on GitHub
CSPickerController Class Reference