State Modifiers

Access storage and provide child views with configuration data.

Overview 概要

SwiftUI provides tools for managing data in your app. For example, you can store values and objects in an environment that’s shared among the views in a view hierarchy. Any view that shares the environment — typically all the descendant views of the view that stores the item — can then access the stored item.

For more information about the types that SwiftUI provides to help manage data in your app, see State and Data Flow.

Topics 話題

Identity

Environment Values 環境値

Preferences 環境設定

Default Storage

See Also 参照

Providing Interactivity 相互作用性を提供する