Instance Methodswift-composable-architecture 1.18.0ComposableArchitecture
index(before:)
NavigationStack+Observation.swift:494func index(before i: Int) -> Int
func index(before i: Int) -> Int
s22ComposableArchitecture10StackStateV8PathViewV5index6beforeS2i_tF
What are these?3GXOH
import ComposableArchitecture
The Composable Architecture (TCA, for short) is a library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind. It can be used in SwiftUI, UIKit, and more, and on any Apple platform (iOS, macOS, tvOS, and watchOS).
struct PathView
struct StackState<Element>
A list of data representing the content of a navigation stack.
@frozen struct Int
A signed integer value type.
init()
var endIndex: Int { get }
var startIndex: Int { get }
subscript(position: Int) -> Component { get set }
func index(after i: Int) -> Int
mutating func replaceSubrange(_ subrange: Range<Int>, with newElements: some Collection<Component>)