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.
Creates a range with the given location and length.
init(location: Int, length: Int)The index of the first member of the range.
The number of items in the range.