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

# activate()

Activates the receiver.

## Declaration

```swift
func activate()
```

## 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

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