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

func equatable() -> EquatableView<Self>

Prevents the view from updating its child view when its new value is the same as its old value.

associatedtype Body

The type of view representing the body of the view.

Required.