Contents

init(location:length:)

Creates a range with the given location and length.

Declaration

init(location: Int, length: Int)

Parameters

  • location:

    The index of the first member of the range.

  • length:

    The number of items in the range.

See Also

Creating a range