expandedInterfaceDelegate
The delegate that manages the lifecycle of the status item’s expanded interface.
Declaration
weak var expandedInterfaceDelegate: (any NSStatusItemExpandedInterfaceDelegate)? { get set }Discussion
Status items that assign an NSMenu to their button don’t receive expanded interface callbacks — the system handles the expanded menu interface automatically. The delegate shows the expanded interface, such as an NSWindow positioned beneath the status item, in response to statusItem(_:didBegin:), and dismisses the interface in response to statusItemDidEndExpandedInterfaceSession(_:animated:).