Contents

init(orderedSet:copyItems:)

Initializes a new ordered set with the contents of a set, optionally copying the items.

Declaration

convenience init(orderedSet set: NSOrderedSet, copyItems flag: Bool)

Parameters

  • set:

    A set.

  • flag:

    If True the objects are copied to the ordered set; otherwise False.

Return Value

An initialized ordered set containing the objects in the set.

See Also

Initializing an Ordered Set