Generic Instance Method

id(_:)

Generates a uniquely identified view that can be inserted or removed.

Declaration

func id<ID>(_ id: ID) -> some View where ID : Hashable

See Also

Inspecting Views

typealias HStack.Body

A type that represents the horizontal stack’s behavior and its content.