Cocoa - Method to count the characters in a text field?
I'm pretty new to objec开发者_高级运维tive 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?
NSUInteger len = [[textField stringValue] length];
精彩评论