iphone - Cococa Touch - Verifying each character inputed -


I have to type a user in something and I want to check each character. How could I do this? I want to be in real time. So it was confirmed as typing and color is coded.

You can compare what I would like to do with programmer IDE, as if you check syntax when typing it.

Any help is appreciated!

Connect an app representative to the utfitted delegate and do something like this:

 < Code> - (BOOL) textField: (UITextField *) textField shouldChangeCharactersInRange: (NSRange) Category Replacement String: (NSString *) string {if ([string isEqual: @ "b"]) {// User typed 'b' // Insert the string with a specific color // [...]} and  

Comments

Popular posts from this blog

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -