Skip to content

Instance Method

index(before:)

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
Returns the index that precedes the given index.
func index(before i: IndexPath.Index) -> IndexPath.Index