The view controller for a popover associated with your app extension.
SDK
- macOS 10.12+
Framework
- Safari
Services
Declaration
class SFSafariExtensionViewController : NSView Controller
Overview
If your toolbar item has a popover, your popover view controller should be a subclass of this class. As with other macOS development, typically you want to add your own outlets and actions to the view controller, and provide an XIB file for its user interface.
Your view controller's contents must use Auto Layout.