<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPDFPanel/accessoryController",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPDFPanel(py)accessoryController"
  },
  "title" : "accessoryController"
}
-->

# accessoryController

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

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

## Discussion

The PDF panel passes an [`NSPDFInfo`](/documentation/AppKit/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`](/documentation/AppKit/NSPrintPanel) object), a PDF panel can have only one accessory view.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)