In this question (iPhone objective-c: detecting a 'real' word) the function returns the following line as true if the word is a 'real word'
return misspelledRange.location == NSNotFound;
I'm confused as to why this is "==" and not "!=". Wouldn't it make sense that "not equal to NSNotFound" would mean that the word was found -- as seems to be the case in this answer Can NSRange determine if a snippet of text exists in a larger string? ?