---
title: DispatchQoS.QoSClass.userInteractive
framework: dispatch
role: symbol
role_heading: Case
path: dispatch/dispatchqos/qosclass-swift.enum/userinteractive
---

# DispatchQoS.QoSClass.userInteractive

The quality-of-service class for user-interactive tasks, such as animations, event handling, or updating your app’s user interface.

## Declaration

```swift
case userInteractive
```

## Discussion

Discussion User-interactive tasks have the highest priority on the system. Use this class for tasks or queues that interact with the user or actively update your app’s user interface. For example, use this for class for animations or for tracking events interactively.

## See Also

### Getting the Quality-of-Service Class

- [DispatchQoS.QoSClass.userInitiated](dispatch/dispatchqos/qosclass-swift.enum/userinitiated.md)
- [DispatchQoS.QoSClass.default](dispatch/dispatchqos/qosclass-swift.enum/default.md)
- [DispatchQoS.QoSClass.utility](dispatch/dispatchqos/qosclass-swift.enum/utility.md)
- [DispatchQoS.QoSClass.background](dispatch/dispatchqos/qosclass-swift.enum/background.md)
- [DispatchQoS.QoSClass.unspecified](dispatch/dispatchqos/qosclass-swift.enum/unspecified.md)
