Do not confuse using this method and the documentation that lists it as a method (void).
"when returning indexes of the path pointer"
where is he returning something too?
If this is not the case:
- (NSIndexPath *)getIndexes:(NSUInteger *)indexes
getIndexes: Provides a reference to pointer indices.
- (void)getIndexes:(NSUInteger *)indexes
Parameters indices Pointer to an unsigned integer array. When returning, indexes indicate indexes. Availability Available in iOS 2.0 and later. Announced in NSIndexPath.h
source
share