Skip to content

Glossary: Swift Basics

index

Also written: indexes, indices

The position of an item in an array, starting at 0. Asking for one past the end crashes with `Index out of range`.

Where the book teaches it

Related terms

array