DropDownTextField
open class DropDownTextField : UITextField
extension DropDownTextField: UITextFieldDelegate
extension DropDownTextField: UITableViewDataSource
extension DropDownTextField: UITableViewDelegate
-
Declaration
Swift
public var selectedIndex: Int?
-
Declaration
Swift
@IBInspectable public var rowHeight: CGFloat
-
Declaration
Swift
@IBInspectable public var rowBackgroundColor: UIColor
-
Declaration
Swift
@IBInspectable public var selectedRowColor: UIColor
-
Declaration
Swift
@IBInspectable public var hideOptionsWhenSelect: Bool
-
Declaration
Swift
@IBInspectable public var isSearchEnable: Bool { get set }
-
Declaration
Swift
@IBInspectable public var borderColor: UIColor { get set }
-
Declaration
Swift
@IBInspectable public var listHeight: CGFloat { get set }
-
Declaration
Swift
@IBInspectable public var borderWidth: CGFloat { get set }
-
Declaration
Swift
@IBInspectable public var cornerRadius: CGFloat { get set }
-
Declaration
Swift
public var optionArray: [String] { get set }
-
Declaration
Swift
public var optionImageArray: [UIImage] { get set }
-
Declaration
Swift
public var optionIds: [String]?
-
Declaration
Swift
@IBInspectable public var arrowSize: CGFloat { get set }
-
Declaration
Swift
public override init(frame: CGRect)
-
Declaration
Swift
public required init(coder aDecoder: NSCoder)
-
Declaration
Swift
public func showList()
-
Declaration
Swift
public func hideList()
-
Declaration
Swift
@objc public func touchAction()
-
Declaration
Swift
public func didSelect(completion: @escaping (_ selectedText: String, _ index: Int, _ id: String) -> ())
-
Declaration
Swift
public func listWillAppear(completion: @escaping () -> ())
-
Declaration
Swift
public func listDidAppear(completion: @escaping () -> ())
-
Declaration
Swift
public func listWillDisappear(completion: @escaping () -> ())
-
Declaration
Swift
public func listDidDisappear(completion: @escaping () -> ())
-
Declaration
Swift
public func textFieldShouldReturn(_ textField: UITextField) -> Bool
-
Declaration
Swift
public func textFieldDidBeginEditing(_ textField: UITextField)
-
Declaration
Swift
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool
-
Declaration
Swift
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool
-
Declaration
Swift
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Declaration
Swift
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Declaration
Swift
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)