---
title: NSPressureConfiguration
framework: appkit
role: symbol
role_heading: Class
path: appkit/nspressureconfiguration
---

# NSPressureConfiguration

An encapsulation of the behavior and progression of a Force Touch trackpad as it responds to specific events.

## Declaration

```swift
class NSPressureConfiguration
```

## Overview

Overview Use an NSPressureConfiguration object to configure the behavior and progression of a Force Touch trackpad when it responds to a mouse drag or pressure event sequence. Pressure configurations are assigned to views (NSView) and gesture recognizers (NSGestureRecognizer).

## Topics

### Creating a Pressure Configuration Object

- [init(pressureBehavior:)](appkit/nspressureconfiguration/init(pressurebehavior:).md)
- [set()](appkit/nspressureconfiguration/set().md)

### Accessing Pressure Configuration Object Properties

- [pressureBehavior](appkit/nspressureconfiguration/pressurebehavior.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Trackpad

- [NSHapticFeedbackManager](appkit/nshapticfeedbackmanager.md)
