\fs28 Allocating and Initializing an NSMutableSet\
\fs16 \
\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.\
\fi-6552 \fi-6552 \i0 \fi-6552 + (id)\b setWithCapacity:\b0 (unsigned int)\i numItems\i0 Creates and returns a set object, giving it enough allocated memory to hold \i numItems\i0 objects.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b initWithCapacity:\b0 (unsigned int)\i numItems\i0 Initializes a newly allocated set object, giving it enough allocated memory to hold \i numItems\i0 objects.\
\fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b addObject:\b0 (id)\i anObject\i0 Adds \i anObject\i0 to the set, unless \i anObject \i0 is equal to some object already in the set.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b addObjectsFromArray:\b0 (NSArray *)\i array\i0 Adds to the set all the objects in \i array\i0 , by calling \b addObject:\b0 for each one.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b unionSet:\b0 (NSSet *)\i anotherSet \i0 Adds to the receiving set all the objects in \i anotherSet\i0 , by calling \b addObject:\b0 for each one.\
\fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b intersectSet:\b0 (NSSet *)\i anotherSet\i0 Removes from the receiving set every object that\'27s not equal to any object in \i anotherSet\i0 , by calling \b removeObject:\b0 for each one.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b minusSet:\b0 (NSSet *)\i anotherSet\i0 Removes from the receiving set every object that\'27s equal to some object in \i anotherSet\i0 , by calling \b removeObject:\b0 for each one.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b removeAllObjects\b0 Empties the set of all its elements. (This method doesn\'27t call\b removeObject:\b0 .)\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b removeObject:\b0 (id)\i anObject\i0 Removes the object that\'27s equal to \i anObject\i0 , if any is.\