Contents

hasCommands

A Boolean value indicating whether the extension includes commands that users can invoke.

Declaration

var hasCommands: Bool { get }

Discussion

If this property is YES, the extension contains one or more commands that can be performed by the user. These commands should be accessible via keyboard shortcuts, menu items, or other user interface elements provided by the app. The list of commands can be accessed via commands on an extension context, and invoked via performCommand(_:).