Instance Method

setSet:

Empties the receiving set, then adds each object contained in another given set.

Declaration

- (void)setSet:(NSSet<ObjectType> *)otherSet;

Parameters

otherSet

The set whose members replace the receiving set's content.

See Also

Combining and recombining sets

- unionSet:

Adds each object in another given set to the receiving set, if not present.

- minusSet:

Removes each object in another given set from the receiving set, if present.

- intersectSet:

Removes from the receiving set each object that isn’t a member of another given set.