NSNotFound
NSNotFound is a constant in Apple's Foundation and related Cocoa frameworks used as a sentinel value to indicate that a requested item or index could not be found. It is most commonly associated with methods that return a numeric location, such as NSString rangeOfString: or rangeOfCharacterFromSet:, where a location equal to NSNotFound signals that the search term was not found.
Value and type: NSNotFound is defined as NSIntegerMax, the maximum value for the NSInteger type. On 64-bit
Practical usage: In Objective-C, a common pattern is to perform a search and then check the location
Notes: NSNotFound represents a not-found condition and is not a valid index. Not every API uses NSNotFound;