---
title: NSGestureRecognizerRepresentableCoordinateSpaceConverter
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter
---

# NSGestureRecognizerRepresentableCoordinateSpaceConverter

A structure used to convert locations to and from coordinate spaces in the hierarchy of the SwiftUI view associated with an NSGestureRecognizerRepresentable.

## Declaration

```swift
struct NSGestureRecognizerRepresentableCoordinateSpaceConverter
```

## Topics

### Instance Properties

- [localLocation](swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/locallocation.md)
- [localTranslation](swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/localtranslation.md)
- [localVelocity](swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/localvelocity.md)

### Instance Methods

- [convert(globalPoint:to:)](swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/convert(globalpoint:to:).md)
- [location(in:)](swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/location(in:).md)
- [translation(in:)](swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/translation(in:).md)
- [velocity(in:)](swiftui/nsgesturerecognizerrepresentablecoordinatespaceconverter/velocity(in:).md)

## See Also

### Adding AppKit gesture recognizers into SwiftUI view hierarchies

- [NSGestureRecognizerRepresentable](swiftui/nsgesturerecognizerrepresentable.md)
- [NSGestureRecognizerRepresentableContext](swiftui/nsgesturerecognizerrepresentablecontext.md)
