<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/UIGestureRecognizerRepresentable/makeCoordinator(converter:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI32UIGestureRecognizerRepresentableP15makeCoordinator9converter0G0QzAA0cdE24CoordinateSpaceConverterV_tF"
  },
  "title" : "makeCoordinator(converter:)"
}
-->

# makeCoordinator(converter:)

Creates the custom object that you use to communicate state changes from
your gesture recognizer to other parts of your SwiftUI interface.

```
@MainActor @preconcurrency func makeCoordinator(converter: Self.CoordinateSpaceConverter) -> Self.Coordinator
```

## Parameters

`converter`

A structure used to convert locations  to/from
coordinate spaces in the hierarchy of the associated SwiftUI view.

## Discussion

You access the resulting coordinator via the `Context` passed into other
methods in this protocol.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)