Instance Method

init

Initializes a newly allocated set.

Declaration

- (instancetype)init;

Return Value

A set.

Discussion

This method is a designated initializer of NSMutableSet.

See Also

Creating a mutable set

+ setWithCapacity:

Creates and returns a mutable set with a given initial capacity.

- initWithCapacity:

Returns an initialized mutable set with a given initial capacity.