Contents

Subview

An opaque value representing a subview of another view.

Declaration

struct Subview

Overview

Access to a Subview can be obtained by using ForEach(subviews:) or Group(subviews:).

Subviews are proxies to the resolved view they represent, meaning that modifiers applied to the original view will be applied before modifiers applied to the subview, and the view is resolved using the environment of its container, not the environment of the its subview proxy. Additionally, because subviews must represent a single leaf view, or container, a subview may represent a view after the application of styles. As such, attempting to apply a style to it may have no affect.

Topics

Structures

Instance Properties

Enumerations

See Also

Accessing a container’s subviews