Added Documentation
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
}
|
||||
|
||||
|
||||
- (NSIndexPath *)indexPathByReplacingLastIndexWithIndex:(NSUInteger)index
|
||||
- (NSIndexPath *)indexPathByReplacingLastIndexWithIndex:(NSUInteger)anIndex
|
||||
{
|
||||
return [[self indexPathByRemovingLastIndex] indexPathByAddingIndex:index];
|
||||
return [[self indexPathByRemovingLastIndex] indexPathByAddingIndex:anIndex];
|
||||
}
|
||||
|
||||
|
||||
@@ -46,10 +46,10 @@
|
||||
}
|
||||
|
||||
|
||||
- (NSIndexPath *)indexPathByPreceedingIndex:(NSUInteger)index
|
||||
- (NSIndexPath *)indexPathByPreceedingIndex:(NSUInteger)anIndex
|
||||
{
|
||||
NSUInteger newIndexes[self.length+1];
|
||||
newIndexes[0] = index;
|
||||
newIndexes[0] = anIndex;
|
||||
for (NSUInteger i = 0; i < self.length; i++) {
|
||||
newIndexes[i+1] = [self indexAtPosition:i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user