We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea12dae + 3a192fa commit abc60f2Copy full SHA for abc60f2
Classes/iOSDropDown.swift
@@ -60,6 +60,7 @@ open class DropDown : UITextField{
60
fileprivate var backgroundView = UIView()
61
fileprivate var keyboardHeight:CGFloat = 0
62
63
+ public var rowTextColor: UIColor = .black
64
public var optionArray = [String]() {
65
didSet{
66
self.dataArray = self.optionArray
@@ -401,6 +402,7 @@ extension DropDown: UITableViewDataSource {
401
402
cell!.selectionStyle = .none
403
cell?.textLabel?.font = self.font
404
cell?.textLabel?.textAlignment = self.textAlignment
405
+ cell?.textLabel?.textColor = rowTextColor
406
return cell!
407
}
408
0 commit comments