I am trying to retrieve the word count for the text in a UITextView
. I can do this already with characters, as in counting the number of letters/spaces, but want the counter to show the number of words instead.
Can't seem to find anything in the documentation, unless it is in there and I don't understand what it is saying.