Got a simple question. I got a text field that gets updated and filled with character I want to perform actions when they have a length. for example when the length is 12 (12 character) I want it to do something and when the length is 24, etc.
Can I just do:
if (textfield.text.length == 12){
//do something
}
hope someone can help me out 🙂
thanks
you should use the delegate
and use the if you have created yourself inside it like