Generic Structure

Anchor

An opaque value derived from an anchor source and a particular view.

Declaration

struct Anchor<Value> where Value : Equatable

Overview

You can convert the anchor to a Value in the coordinate space of a target view by using a LayoutContext to specify the target view.

Topics

Operator Functions

Structures

struct Anchor.Source

A type-erased geometry value that produces an anchored value of a given type.

Relationships

Conforms To

See Also

Geometry

struct GeometryProxy

A proxy for access to the size and coordinate space (for anchor resolution) of the container view.

Beta
struct GeometryReader

A container view that defines its content as a function of its own size and coordinate space.

Beta
protocol GeometryEffect

An effect that changes the visual appearance of a view, largely without changing its ancestors or descendents.

Beta
struct Angle

A geometric angle whose value you access in either radians or degrees.

Beta
typealias Length

The floating-point type used for all scalar geometry values.

Beta
protocol VectorArithmetic

A type that can serve as the animatable data of an animatable type.

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