---
title: deactivate()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstextinputcontext/deactivate()
---

# deactivate()

Deactivates the receiver.

## Declaration

```swift
func deactivate()
```

## Discussion

Discussion You should not call this method directly; it is invoked by the system. It is provided as an override point for subclasses.

## See Also

### Activating the Input Context

- [activate()](appkit/nstextinputcontext/activate().md)
