Hi,
I did a pod update and I am getting "Type 'UIControl' has no member 'Event'" what do you think would be the reason?
thanks
for: UIControl.Event.editingChanged
for: UIControl.Event.editingChanged
@IBInspectable public var maxLength: Int {
get {
guard let length = maxLengths[self] else {
return Int.max
}
return length
}
set {
maxLengths[self] = newValue
addTarget(
self,
action: #selector(limitLength),
for: UIControl.Event.editingChanged
)
}
}