setContextHelp(_:for:)
Associates help content with an object.
Declaration
func setContextHelp(_ attrString: NSAttributedString, for object: Any)Parameters
- attrString:
Help content to associate with
object. - object:
Object to associate with
help.
Discussion
When the application enters context-sensitive help mode, if object is clicked, help appears in the context-sensitive help window.