Archived
1

Added Helper Categories

Added Documentation
This commit is contained in:
Kim Wittenburg
2014-04-23 03:09:26 +02:00
parent 027ef4271f
commit 24c53bde2e
5 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
//
// NSIndexPath+MPRemoveFirstIndex.h
// MathPad
//
// Created by Kim Wittenburg on 23.04.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSIndexPath (MPRemoveFirstIndex)
/*!
@method indexPathByRemovingFirstIndex
@brief Provides an index path with the indexes in the receiving index path, excluding the first one.
@discussion Returns an empty NSIndexPath instance if the receiving index paths length is 1 or less.
@return New index path with the receiving index paths indexes, excluding the first one.
*/
- (NSIndexPath *)indexPathByRemovingFirstIndex;
@end