Initializer

init(_immutableCocoaSet:)

Private initializer used for bridging.

Declaration

init(_immutableCocoaSet: AnyObject)

Discussion

Only use this initializer when both conditions are true:

  • it is statically known that the given NSSet is immutable;

  • Element is bridged verbatim to Objective-C (i.e., is a reference type).