views:

23

answers:

1

I'm pretty new to objective C started a few days ago...

I want to count all the chars in a text field. Could

[textField length]

be useful at all and how do I use it?

+4  A: 
NSUInteger len = [[textField stringValue] length];
mipadi