Contents

setShowsHelp(_:)

Displays a Help button in the sheet or panel.

Declaration

func setShowsHelp(_ showsHelp: Bool)

Parameters

  • showsHelp:

    Set to True to display the help button. The help button is hidden by default.

Discussion

When a user clicks the help button, the certificate panel first checks the delegate for a certificatePanelShowHelp(_:) method. If the delegate does not implement such a method, or the delegate method returns false, then the NSHelpManager method openHelpAnchor(_:inBook:) is called with a nil book and the anchor specified by the setHelpAnchor(_:) method. An exception is raised if the delegate returns false and there is no help anchor set.

See Also

Related Documentation

Providing Help