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<Image>

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