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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -