2 // RTKMutableArrayCategory.m
5 // Copyright (c) 2005 A. Karl Keller (http://karlk.net)
7 // This code is open-source, free software, made available without warranty under
8 // the terms of the GNU General Public License, either version 2 or later (see
9 // http://www.gnu.org/licenses/gpl.html or included copy); as such, it may be
10 // redistributed and/or modified in accordance with that document.
13 #import "RTKMutableArrayCategory.h"
14 #import "RTKArrayCategory.h"
16 @implementation NSMutableArray (RTKMutableArrayCategory)
18 - (NSMutableArray *)arrayWithObjectsAtIndexes:(id)indexes
20 return [[super arrayWithObjectsAtIndexes:indexes] mutableCopy];
23 - (NSMutableArray *)arrayByRemovingObjectsAtIndexes:(id)indexes;
25 return [[super arrayByRemovingObjectsAtIndexes:indexes] mutableCopy];
28 - (NSMutableArray *)deepCopy
30 return [[super deepCopy] mutableCopy];