mirror of
https://github.com/wu736139669/ManagerDemo.git
synced 2026-08-05 05:55:42 +00:00
24 lines
551 B
Objective-C
24 lines
551 B
Objective-C
//
|
|
// NSMutableArray+DTMoving.h
|
|
// DTFoundation
|
|
//
|
|
// Created by Oliver Drobnik on 9/27/12.
|
|
// Copyright (c) 2012 Cocoanetics. All rights reserved.
|
|
//
|
|
|
|
/**
|
|
Methods that add convenient moving methods to `NSMutableArray`.
|
|
*/
|
|
|
|
@interface NSMutableArray (DTMoving)
|
|
|
|
/**
|
|
Moves the object at the specified indexes to the new location.
|
|
|
|
@param indexes The indexes of the objects to move.
|
|
@param idx The index in the mutable array at which to insert the objects.
|
|
*/
|
|
- (void)moveObjectsAtIndexes:(NSIndexSet *)indexes toIndex:(NSUInteger)idx;
|
|
|
|
@end
|