Instance Method

equatable()

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

Declaration

func equatable() -> EquatableView<Self>
Available when Self conforms to Equatable.

See Also

Inspecting Views

func id<ID>(ID) -> View

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

associatedtype Body

The type of view representing the body of the view.

Required.