init(array:copyItems:)
Initializes a newly allocated set with the objects that are contained in a given array, optionally copying the items.
Declaration
convenience init(array set: [Any], copyItems flag: Bool)Parameters
Return Value
An initialized ordered set containing a uniqued collection of the objects contained in the array.