I am new to RubyMotion for iOS app, but I coded using Objective C.
My requirement is to get the delegate method which should be called for every char type in UITextField.
Objective C: I used “shouldChangeCharactersInRange” for finding the user character entry.
Can you anyone suggest me how to implement this function in RubyMotion for tracking character type in UITextField
Thank you.
Regards.
First, when you create the text field, make sure you set the delegate to the same View Controller class it’s in:
Then add this method to that class: