CocoaDev

Edit AllPages

NSMaxRange is a foundation function which returns the end of the range passed to it. NSMaxRange(range) is equivalent to range.location + range.length. For example, NSMaxRange(NSMakeRange(7, 2)) will return 9. It is located in NSRange.h.

See NSRange.