Creates a new set from a finite sequence of items.
- iOS 13.0+
- Xcode 11.0+
The elements to use as members of the new set.
Use this initializer to create a new set from an existing sequence, like an array or a range: