NSSet

Dok-tips for Foundation class NSSet

Immutable un-ordered collection of objects

All objects in the set are held strongly

Like an array but without any ordering of the objects. Cannot retrieve objects using an index. Instead, must use fast enumeration or ask for an object by name using the method member: which will return an object if there is one in the set for which isEqual: is true

Can evaluate with union and intersection with other NSSet type instances