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.

Beta
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.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software