24 #import <Foundation/Foundation.h>
25 #import <scl/NSArray+SCArray.h>
28 #pragma mark Class Constants
33 #define NSMutableArrayClass @"NSMutableArray"
51 #pragma mark Copying Arrays
54 - (void)setObjects:(
id<
SCCollectioning>)object, ... NS_REQUIRES_NIL_TERMINATION;
58 - (void)setAscendingSortedCollection:(
id<
SCCollection>)collection;
59 - (void)setDescendingSortedCollection:(
id<
SCCollection>)collection;
60 - (void)setSortedCollection:(
id<
SCCollection>)collection;
63 #pragma mark Adding Objects
64 - (void)addObjects:(
id<
SCCollectioning>)object, ... NS_REQUIRES_NIL_TERMINATION;
68 #pragma mark Removing Objects
69 - (void)removeObjectsWithClass:(Class)oclass;
70 - (void)removeObjectsWithClassName:(NSString *)name;
72 - (void)removeObjects:(
id<
SCCollectioning>)object, ... NS_REQUIRES_NIL_TERMINATION;
75 #pragma mark Replacing Objects
76 - (void)replaceObjectsAtIndexes:(NSIndexSet *)indexes withCollection:(
id<
SCCollection>)collection;
77 - (void)replaceObjectsInRange:(NSRange)range withObjects:(
id<
SCCollectioning>)object, ... NS_REQUIRES_NIL_TERMINATION;
78 - (void)replaceObjectsInRange:(NSRange)range withCollection:(
id<
SCCollection>)collection;
81 #pragma mark Sorting Arrays
82 - (void)sortAscendingWithSorter:(
id<
SCSorter>)sorter;
83 - (void)sortDescendingWithSorter:(
id<
SCSorter>)sorter;
84 - (void)sortWithSorter:(
id<
SCSorter>)sorter;
90 #pragma mark Additional Methods
91 - (void)copyObjectAtIndex:(
SCIndex)index toIndex:(
SCIndex)destination;
92 - (void)moveObjectAtIndex:(
SCIndex)index toIndex:(
SCIndex)destination;
void sort()
Definition: NSMutableArray+SCMutableArray.m:628
void sortDescending()
Definition: NSMutableArray+SCMutableArray.m:614
Mutable collections protocol.
Definition: SCCollectionProtocols.h:743
Mutable indexed collection protocol.
Definition: SCCollectionProtocols.h:1029
Abstract implementation of the protocol SCSorter.
Definition: SCSorter.h:130
NSUInteger SCIndex
Definition: SCTypes.h:238
Collections communications protocol.
Definition: SCCollectioning.h:80
Abstract collections class.
Definition: SCCollection.h:94
void reverse()
Definition: NSMutableArray+SCMutableArray.m:681
void sortAscending()
Definition: NSMutableArray+SCMutableArray.m:602
Standard class NSMutableArray functionality extending category.
Definition: NSMutableArray+SCMutableArray.h:48