Instance Method


Adds to the set each object contained in a given array that is not already a member.


- (void)addObjectsFromArray:(NSArray<ObjectType> *)array;



An array of objects to add to the set.

See Also

Adding and removing entries

- addObject:

Adds a given object to the set, if it is not already a member.

- filterUsingPredicate:

Evaluates a given predicate against the set’s content and removes from the set those objects for which the predicate returns false.

- removeObject:

Removes a given object from the set.

- removeAllObjects

Empties the set of all of its members.