Returns an initialized mutable set with a given initial capacity.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
The initial capacity of the set.
An initialized mutable set with initial capacity to hold
num members. The returned set might be different than the original receiver.
Mutable sets allocate additional memory as needed, so
num simply establishes the object’s initial capacity.
This method is a designated initializer for