Protocol

DynamicProperty

A stored variable that updates an external property of a view.

Declaration

protocol DynamicProperty

Overview

The view gives values to these properties prior to recomputing the view’s body.

Topics

Instance Methods

func update()

Required. Default implementation provided.

See Also

Data-Dependent Views

struct State

A persistent value of a given type, through which a view reads and monitors the value.

struct EnvironmentObject

A dynamic view property that uses a bindable object supplied by an ancestor view to invalidate the current view whenever the bindable object changes.