Skip to content

Type 'UIControl' has no member 'Event' #5

@topslave

Description

@topslave

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
)
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions