//
//  NSMutableArray+Additions.h
//  MPServices
//
//  Created by Dmitry Gaponenko on 4/27/16.
//  Copyright © 2016 MacPhun. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSMutableArray<ObjectType> (Additions)

- (BOOL)canMoveObject:(ObjectType)object toIndex:(NSUInteger)index;

- (BOOL)moveObject:(ObjectType)object toIndex:(NSUInteger)index;
- (BOOL)moveObject:(id)object toArray:(NSMutableArray*)array;
- (BOOL)moveObject:(id)object toArray:(NSMutableArray *)array atIndex:(NSInteger)idx;

@end
