[Previous]
[Up]
[Next]
NSArray
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Foundation/NSArray.h
Inherits from: NSObject
Conforms to: NSCoding
Instance Variables
Methods
Class Methods
+ (id) allocWithZone: (NSZone*)zone;
+ (id) array;
+ (id) arrayWithArray: (NSArray*)anArray;
+ (id) arrayWithContentsOfFile: (NSString*)aPath;
+ (id) arrayWithObject: (id)anObject;
+ (id) arrayWithObjects: (id)firstObj,;
+ (id) arrayWithObjects: (id*)objects;
Instances Methods
- (NSArray*) arrayByAddingObject: (id)anObject;
- (NSArray*) arrayByAddingObjectsFromArray: (NSArray*)otherArray;
- (NSString*) componentsJoinedByString: (NSString*)separator;
- (BOOL) containsObject: (id)anObject;
- (unsigned int) count;
- (NSString*) descriptionWithLocale: (NSDictionary*)locale;
- (NSString*) descriptionWithLocale: (NSDictionary*)locale;
- (id) firstObjectCommonWithArray: (NSArray*)otherArray;
- (void) getObjects: (id*)aBuffer;
- (void) getObjects: (id*)aBuffer;
- (unsigned int) indexOfObject: (id)anObject;
- (unsigned int) indexOfObject: (id)anObject;
- (unsigned int) indexOfObjectIdenticalTo: (id)anObject;
- (unsigned int) indexOfObjectIdenticalTo: (id)anObject;
- (id) initWithArray: (NSArray*)anArray;
- (id) initWithContentsOfFile: (NSString*)aPath;
- (id) initWithObjects: (id)firstObj,;
- (id) initWithObjects: (id*)objects;
- (BOOL) isEqualToArray: (NSArray*)otherArray;
- (id) lastObject;
- (void) makeObjectsPerformSelector: (SEL)aSelector;
- (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)anObject;
- (id) objectAtIndex: (unsigned int)index;
- (NSEnumerator*) objectEnumerator;
- (NSArray*) pathsMatchingExtensions: (NSArray*)filterTypes;
- (NSEnumerator*) reverseObjectEnumerator;
- (NSData*) sortedArrayHint;
- (NSArray*) sortedArrayUsingFunction: (int(*)(id,id,void*))comparator context: (void*)context;
- (NSArray*) sortedArrayUsingFunction: (int(*)(id,id,void*))compare context: (void*)context;
- (NSArray*) sortedArrayUsingSelector: (SEL)comparator;
- (NSArray*) subarrayWithRange: (NSRange)range;
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)flag;