[Previous] [Up] [Next]

NSSet

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSSet

NSSet

Declared in: Foundation/NSSet.h

Inherits from: NSObject

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

allocWithZone:

+ (id) allocWithZone: (NSZone*)zone;

set

+ (id) set;

setWithArray:

+ (id) setWithArray: (NSArray*)anArray;

setWithObject:

+ (id) setWithObject: (id)anObject;

setWithObjects:

+ (id) setWithObjects: (id)anObject, ...;

setWithObjects:count:

+ (id) setWithObjects: (id*)objects count: (unsigned int)count;

setWithArray:

+ (id) setWithArray: (NSSet*)aSet;


Instances Methods

allObjects

- (NSArray*) allObjects;

anyObject

- (id) anyObject;

containsObject:

- (BOOL) containsObject: (id)anObject;

count

- (unsigned int) count;

description

- (NSString*) description;

descriptionWithLocale:

- (NSString*) descriptionWithLocale: (NSDictionary*)locale;

initWithArray:

- (id) initWithArray: (NSArray*)array;

initWithObjects:

- (id) initWithObjects: (id)anObject, ...;

initWithObjects:count:

- (id) initWithObjects: (id*)objects count: (unsigned int)count;

initWithSet:

- (id) initWithSet: (NSSet*)otherSet;

initWithSet:copyItems:

- (id) initWithSet: (NSSet*)otherSet copyItems: (BOOL)flag;

intersectsSet:

- (BOOL) intersectsSet: (NSSet*)otherSet;

isEqualToSet:

- (BOOL) isEqualToSet: (NSSet*)otherSet;

isSubsetOfSet:

- (BOOL) isSubsetOfSet: (NSSet*)otherSet;

makeObjectsPerform:

- (void) makeObjectsPerform: (SEL)aSelector;

makeObjectsPerformSelector:

- (void) makeObjectsPerformSelector: (SEL)aSelector;

makeObjectsPerformSelector:withObject:

- (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)anObject;

makeObjectsPerform:withObject:

- (void) makeObjectsPerform: (SEL)aSelector withObject: (id)anObject;

member:

- (id) member: (id)anObject;

objectEnumerator

- (NSEnumerator*) objectEnumerator;