---
title: context
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsapplication/context
---

# context

The graphics context associated with the app.

## Declaration

```swift
var context: NSGraphicsContext? { get }
```

## Discussion

Discussion This property contains the graphics context most recently used by your app.
