NSArray Class Reference
PDF
Overview
Subclassing Notes
Methods to Override
Special Considerations
Alternatives to Subclassing
Adopted Protocols
Tasks
Creating an Array
Initializing an Array
Querying an Array
Finding Objects in an Array
Sending Messages to Elements
Comparing Arrays
Deriving New Arrays
Sorting
Working with String Elements
Creating a Description
Collecting Paths
Key-Value Observing
Key-Value Coding
Class Methods
array
arrayWithArray:
arrayWithContentsOfFile:
arrayWithContentsOfURL:
arrayWithObject:
arrayWithObjects:
arrayWithObjects:count:
Instance Methods
addObserver:forKeyPath:options:context:
addObserver:toObjectsAtIndexes:forKeyPath:options:context:
arrayByAddingObject:
arrayByAddingObjectsFromArray:
componentsJoinedByString:
containsObject:
count
description
descriptionWithLocale:
descriptionWithLocale:indent:
enumerateObjectsAtIndexes:options:usingBlock:
enumerateObjectsUsingBlock:
enumerateObjectsWithOptions:usingBlock:
filteredArrayUsingPredicate:
firstObjectCommonWithArray:
getObjects:range:
indexesOfObjectsAtIndexes:options:passingTest:
indexesOfObjectsPassingTest:
indexesOfObjectsWithOptions:passingTest:
indexOfObject:
indexOfObject:inRange:
indexOfObject:inSortedRange:options:usingComparator:
indexOfObjectAtIndexes:options:passingTest:
indexOfObjectIdenticalTo:
indexOfObjectIdenticalTo:inRange:
indexOfObjectPassingTest:
indexOfObjectWithOptions:passingTest:
initWithArray:
initWithArray:copyItems:
initWithContentsOfFile:
initWithContentsOfURL:
initWithObjects:
initWithObjects:count:
isEqualToArray:
lastObject
makeObjectsPerformSelector:
makeObjectsPerformSelector:withObject:
objectAtIndex:
objectEnumerator
objectsAtIndexes:
pathsMatchingExtensions:
removeObserver:forKeyPath:
removeObserver:fromObjectsAtIndexes:forKeyPath:
reverseObjectEnumerator
setValue:forKey:
sortedArrayHint
sortedArrayUsingComparator:
sortedArrayUsingDescriptors:
sortedArrayUsingFunction:context:
sortedArrayUsingFunction:context:hint:
sortedArrayUsingSelector:
sortedArrayWithOptions:usingComparator:
subarrayWithRange:
valueForKey:
writeToFile:atomically:
writeToURL:atomically:
Constants
NSBinarySearchingOptions
Binary Search Options
Appendix A: Deprecated NSArray Methods
Deprecated in Mac OS X v10.6
getObjects:
Revision History
Index
COMPANION GUIDES
Collections Programming Topics for Cocoa
Key-Value Coding Programming Guide
Property List Programming Guide
Predicate Programming Guide