Class

SFSafariExtensionViewController

The view controller for a popover associated with your app extension.

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.

See Also

Safari App Extensions

class SFSafariExtensionManager

A class used by your app to find out the current state of a Safari app extension.

class SFSafariExtensionState

The state of a Safari app extension.

class SFSafariExtensionHandler

A base class that you subclass to handle events in your Safari app extension.

protocol SFSafariExtensionHandling

A protocol used to implement event handling in a Safari app extension.

class SFSafariApplication

A proxy for the Safari app.

class SFSafariWindow

A proxy for a Safari window.

class SFSafariToolbarItem

A proxy for a Safari app extension toolbar item in a Safari window.

class SFSafariTab

A proxy for a tab in a Safari window.

class SFSafariPage

A proxy for a Safari webpage.

class SFSafariPageProperties

Information about a webpage.