Reputation: 4999
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?
Upvotes: 0
Views: 590
Reputation: 410722
NSUInteger len = [[textField stringValue] length];
Upvotes: 5