GeometryProxy.swift 324 B

1234567
  1. /// A proxy for querying a view's geometry. See ``GeometryReader``.
  2. public struct GeometryProxy {
  3. /// The size proposed to the view by its parent. In the context of
  4. /// ``GeometryReader``, this is the size that the ``GeometryReader``
  5. /// will take on (to prevent feedback loops).
  6. public var size: ViewSize
  7. }