init(set:copyItems:)
Initializes a new ordered set with the contents of a set, optionally copying the objects in the set.
Declaration
convenience init(set: Set<AnyHashable>, copyItems flag: Bool)Parameters
Return Value
An initialized ordered set containing the objects in the set.