Archived
1

Added Documentation

This commit is contained in:
Kim Wittenburg
2014-12-17 22:04:49 +01:00
parent 8f1f730358
commit 7f6ee6e118
31 changed files with 1141 additions and 533 deletions

View File

@@ -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];
}