projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split NJMappingController view handling off into NJMappingViewController. This is...
[enjoyable.git]
/
Categories
/
NSMutableArray+MoveObject.h
diff --git
a/Categories/NSMutableArray+MoveObject.h
b/Categories/NSMutableArray+MoveObject.h
index
ce62234
..
e8ac0b0
100644
(file)
--- a/
Categories/NSMutableArray+MoveObject.h
+++ b/
Categories/NSMutableArray+MoveObject.h
@@
-11,10
+11,9
@@
@interface NSMutableArray (MoveObject)
- (void)moveObjectAtIndex:(NSUInteger)src toIndex:(NSUInteger)dst;
@interface NSMutableArray (MoveObject)
- (void)moveObjectAtIndex:(NSUInteger)src toIndex:(NSUInteger)dst;
- // Move the object at index src to (p
re
-move) index dst. Other
+ // Move the object at index src to (p
ost
-move) index dst. Other
// objects shift up or down as necessary to make room, as in
// objects shift up or down as necessary to make room, as in
- // insertObject:atIndex:. Because the object is also removed from
- // the source index, its resulting index may be one less than dst.
+ // insertObject:atIndex:.
- (BOOL)moveFirstwards:(id)object upTo:(NSUInteger)minIndex;
- (BOOL)moveLastwards:(id)object upTo:(NSUInteger)maxIndex;
- (BOOL)moveFirstwards:(id)object upTo:(NSUInteger)minIndex;
- (BOOL)moveLastwards:(id)object upTo:(NSUInteger)maxIndex;