Contents

init(orderedSet:range:copyItems:)

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

Declaration

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

Parameters

  • set:

    An ordered set.

  • range:

    The range of objects in orderedSet to add to the ordered 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 ordered set.

See Also

Initializing an Ordered Set