\fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 + (id)\b allocWithZone:\b0 (NSZone *)\i zone\i0 Creates and returns an uninitialized set object in \i zone\i0 .\
\fi-6552 \fi-6552 \fi-6552 + (id)\b set\b0 Creates and returns an empty set object.\
\fi-6552 \fi-6552 \fi-6552 + (id)\b setWithArray:\b0 (NSArray *)\i array\i0 Creates and returns a set object containing the objects in \i array\i0 .\
\fi-6552 \fi-6552 \fi-6552 + (id)\b setWithObject:\b0 (id)\i anObject\i0 Creates and returns a set object containing the single element \i anObject.\
\fi-6552 \fi-6552 \i0 \fi-6552 + (id)\b setWithObjects:\b0 (id)\i firstObj,...\i0 Creates and returns a set 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 set object by placing in it the objects contained in \i array.\
\fi-6552 \fi-6552 \i0 \fi-6552 {\f3 -} (id)\b initWithObjects:\b0 (id)\i firstObj,...\i0 Initializes a newly allocated set 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 set object by placing in \
\fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \b count:\b0 (unsigned int)\i count\i0 it \i count\i0 objects from the \i objects\i0 array.\
\s13 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (id)\b initWithSet:\b0 (NSSet *)\i anotherSet\i0 Initializes a newly allocated set object by placing in it the objects contained in \i anotherSet.\
\fi-6552 \fi-6552 \i0 \fi-6552 {\f3 -} (id)\b initWithSet:\b0 (NSSet *)\i set\i0 Initializes a newly allocated set object by placing in it the\
\fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \b copyItems:\b0 (BOOL)\i flag\i0 objects contained in \i anotherSet\i0 (or immutable copies of them, if \i flag \i0 is YES).\
\pard \s30 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
\
\
\fs28 Querying the Set\
\fs16 \
\fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (NSArray *)\b allObjects\b0 Returns an array containing all the objects in the set.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b anyObject\b0 Returns some object in the set, or \b nil\b0 if the set is empty.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (unsigned int)\b count\b0 Returns the number of objects currently in the set.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b member:\b0 (id)\i anObject\i0 Return the object in the set that is equal to \i anObject\i0 , or \b nil\b0 if none is equal.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSEnumerator *)\b objectEnumerator\b0 Returns an enumerator object that lets you access each object in the set.\
\fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b makeObjectsPerform:\b0 (SEL)\i aSelector\i0 Sends an \i aSelector\i0 message to each object in the set.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b makeObjectsPerform:\b0 (SEL)\i aSelector\i0 Sends an \i aSelector\i0 message to each object in the\
\fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \b withObject:\b0 (id)\i anObject\i0 set, with \i anObject\i0 as an argument.\
\pard \s30 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
\
\
\fs28 Comparing Sets\
\fs16 \
\fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (BOOL)\b intersectsSet:\b0 (NSSet *)\i otherSet\i0 Returns YES if there\'27s any object in the receiving set that\'27s equal to an object in \i otherSet\i0 .\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b isEqualToSet:\b0 (NSSet *)\i otherSet\i0 Returns YES if every object in the receiving set is equal to an object in \i otherSet\i0 , and the two sets contain the same number of objects.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b isSubsetOfSet:\b0 (NSSet *)\i otherSet\i0 Returns YES if every object in the receiving set is equal to an object in \i otherSet\i0 , and the receiving set contains no more objects than \i otherSet\i0 does.\
\fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \i0 Returns a string representation of the NSSet object, including the keys and values that represent the locale data from \i localeDictionary\i0 .\