Generic Instance Method


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


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

See Also

Inspecting Views

func equatable() -> EquatableView<ModifiedContent<Content, Modifier>>

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

var body: ModifiedContent<Content, Modifier>.Body
typealias ModifiedContent.Body