I'm trying to find this NSRange location (index) in a NSArray:
NSValue *findRangeValue = [NSValue valueWithRange:NSMakeRange(146, 143)];
I'm able to find the location using the method indexOfObject:
NSUInteger integer = [mutArray indexOfObject:findRangeValue];
//This returns (5) which is correct!
But how can I find the NSRange's location (index) in my NSArray by only having the NSRange's length (143), and achieve the same result as above?
- Thanks in advance, Dan