Contents

init(content:)

Creates an instance that allows view content to reference information about a contained map.

Declaration

@MainActor @preconcurrency init(@ViewBuilder content: @escaping (MapProxy) -> Content)

Parameters

  • content:

    The content of the map reader uses to retrieve information about, it uses the first map the content contains.

Return Value

Returns a MapProxy that allows you to introspect the content of a map.