---
title: NSMagnificationGestureRecognizer
framework: appkit
role: symbol
role_heading: Class
path: appkit/nsmagnificationgesturerecognizer
---

# NSMagnificationGestureRecognizer

A continuous gesture recognizer that tracks a pinch gesture that magnifies content.

## Declaration

```swift
class NSMagnificationGestureRecognizer
```

## Overview

Overview This object tracks pinch gestures on a track pad or other input device and stores the resulting magnification value for you to use in your code. This gesture recognizer automatically sets the value of the delaysMagnificationEvents property to true.

## Topics

### Finding the Magnification Factor

- [magnification](appkit/nsmagnificationgesturerecognizer/magnification.md)

## Relationships

### Inherits From

- [NSGestureRecognizer](appkit/nsgesturerecognizer.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Standard Gestures

- [NSClickGestureRecognizer](appkit/nsclickgesturerecognizer.md)
- [NSPressGestureRecognizer](appkit/nspressgesturerecognizer.md)
- [NSPanGestureRecognizer](appkit/nspangesturerecognizer.md)
- [NSRotationGestureRecognizer](appkit/nsrotationgesturerecognizer.md)
