Question : code that detect input swift
Answered by : chickenman
textfield.addTarget(self, action: #selector(ViewController.textFieldDidChange(_:)), for: .editingChanged)
Source : https://stackoverflow.com/questions/28394933/how-do-i-check-when-a-uitextfield-changes | Last Update : Thu, 01 Jul 21