---
title: accessoryController
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nspdfpanel/accessorycontroller
---

# accessoryController

A view controller for the accessory view that the panel can present.

## Declaration

```swift
var accessoryController: NSViewController? { get set }
```

## Discussion

Discussion The PDF panel passes an NSPDFInfo object to the accessory view controller to display the various attributes associated with the PDF file. Unlike a print panel (that is, an NSPrintPanel object), a PDF panel can have only one accessory view.

## See Also

### Managing the Contents of a PDF Panel

- [options](appkit/nspdfpanel/options-swift.property.md)
- [defaultFileName](appkit/nspdfpanel/defaultfilename.md)
