Replaces the given index with its predecessor.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
func formIndex(before i: inout Int)
Parameters
i
A valid index of the collection.
i
must be greater thanstart
.Index
Replaces the given index with its predecessor.
SDK
Framework
func formIndex(before i: inout Int)
i
A valid index of the collection. i
must be greater than start
.