16 #import <Foundation/Foundation.h>
26 - (BOOL)hasIndex:(NSUInteger)index;
47 - (instancetype)initWithData:(NSData *)data;
59 - (instancetype)initWithData:(NSData *)data format:(NSPropertyListFormat *)format error:(NSError **)error;
68 - (instancetype)initWithEnumerator:(
id<NSFastEnumeration>)enumerator;
81 - (instancetype)initWithEnumerator:(
id<NSFastEnumeration>)enumerator copyItems:(BOOL)flag;
89 + (instancetype)arrayWithData:(NSData *)data;
95 + (instancetype)arrayWithData:(NSData *)data format:(NSPropertyListFormat *)format error:(NSError **)error;
101 + (instancetype)arrayWithEnumerator:(
id<NSFastEnumeration>)enumerator;
109 - (NSArray *)subarrayFromIndex:(NSUInteger)index;
117 - (NSArray *)subarrayToIndex:(NSUInteger)index;
126 - (NSArray *)subarrayFromIndex:(NSUInteger)fromIndex toIndex:(NSUInteger)toIndex;
134 - (NSArray *)subarrayFromIndex:(NSUInteger)fromIndex length:(NSUInteger)length;
149 - (void)moveObjectAtIndex:(NSUInteger)fromIndex toIndex:(NSUInteger)toIndex;
169 - (NSInteger)integerAtIndex:(NSUInteger)index;
181 - (NSUInteger)indexOfInteger:(NSInteger)value;
201 - (NSArray *)randomObjectsOfCount:(NSUInteger)count;
206 - (NSArray *)shuffledArray;
218 - (id)removeRandomObject;
237 - (id):(NSUInteger)index __deprecated;
250 - (id)popRandomObject __deprecated;
Deprecated methods of NSArray extensions.
Definition: NSArray.h:231
NSArray shortcut methods for NSNumber.
Definition: NSArray.h:158
Deprecated methods of NSMutableArray extensions.
Definition: NSArray.h:244
Random selection in NSArray objects.
Definition: NSArray.h:188
Random selection in NSMutableArray objects.
Definition: NSArray.h:213
NSArray shortcut methods extension.
Definition: NSArray.h:21
NSArray rearrangement methods extension.
Definition: NSArray.h:142
NSArray creation methods extension with NSData or NSFastEnumeration
Definition: NSArray.h:36