\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 + (id)\b allocWithZone:\b0 (NSZone *)\i zone\i0 Creates and returns an uninitialized array object in \i zone\i0 .\
\fi-6552 \fi-6552 \fi-6552 + (id)\b array\b0 Creates and returns an empty array object\
\fi-6552 \fi-6552 \fi-6552 + (id)\b arrayWithObject:\b0 (id)\i anObject\i0 Creates and returns an array object containing the single element \i anObject.\
\fi-6552 \fi-6552 \i0 \fi-6552 + (id)\b arrayWithObjects:\b0 (id)\i firstObj,...\i0 Creates and returns an array object containing the objects in the argument list. The object list is comma-separated and ends with \b nil\b0 .\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b initWithArray:\b0 (NSArray *)\i array\i0 Initializes a newly allocated array object by placing in it the objects contained in \i anotherArray.\
\fi-6552 \fi-6552 \i0 \fi-6552 {\f3 -} (id)\b initWithObjects:\b0 (id)\i firstObj,...\i0 Initializes a newly allocated array object by placing in it the objects in the argument list. The object list is comma-separated and ends with \b nil\b0 .\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b initWithObjects:\b0 (id *)\i objects\i0 Initializes a newly allocated array object by placing in \
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \b count:\b0 (unsigned int)\i count\i0 it \i count\i0 objects from the \i objects\i0 array\
\pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
\
\
\fs28 Querying the Array\
\fs16 \
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (BOOL)\b containsObject:\b0 (id)\i candidate\i0 Returns YES if \i anObject\i0 is present in the array.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (unsigned int)\b count\b0 Returns the number of objects currently in the array.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (unsigned int)\b indexOfObject:\b0 (id)\i anObject\i0 Returns the index of \i anObject\i0 , if found; otherwise, returns NSNotFound. This method checks the elements in the array from last to first by sending them an \b isEqual:\b0 message.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 Returns the index of \i anObject\i0 , if found; otherwise, returns NSNotFound. This method checks the elements in the array from last to first by comparing their \b id\b0 s.\
\s4 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (id)\b lastObject\b0 Returns the last object in the array.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b objectAtIndex:\b0 (unsigned int)\i index\i0 Returns the object located at \i index\i0 . An array\'27s index starts at 0. If \i index\i0 is beyond the end of the array, an NSRangeException error is raised.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSEnumerator *)\b objectEnumerator\b0 Returns an enumerator object that lets you access each object in the array, starting with the first element.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSEnumerator *)\b reverseObjectEnumerator\b0 Returns an enumerator object that lets you access each object in the array, from the last element to the first.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \b context:\b0 (void *)\i context\i0 Returns an array listing the receiver\'27s elements in ascending order as defined by the comparison function \i comparator\i0 . \i context\i0 is passed to the comparator function as its third argument.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 Returns an array listing the receiver\'27s elements in ascending order, as determined by the comparison method specified by the selector \i comparator\i0 .\
\s4 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (NSArray *)\b subarrayWithRange:\b0 (NSRange)\i range\i0 Returns an array containing the receiver\'27s elements that fall within the limits specified by \i range\i0 .\
\fi-6552 \pard \s5 \li7030 \fi-5796 \ri1007 \ql \tx6652 \tx7030 Returns a string that\'27s the result of interposing \i separator\i0 between the elements of the receiver\'27s array.\
\pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
\
\
\fs28 Creating a String Description of the Array\
\fs16 \
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (NSString *)\b description\b0 Returns a string object that represents the contents of the receiver.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 Returns a string representation of the NSArray object. Included are the key and values that represent the locale data from \i localeDictionary\i0 .\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 \b indent:\b0 (unsigned int)\i level\i0 Returns a string representation of the NSArray object. Included are the key and values that represent the locale data from \i localeDictionary\i0 . Elements of the array are indented from the left margin by \i level\i0 + 1 multiples of four spaces, to make the output more readable.\