Returns the context-sensitive help for the specified key from the bundle's help file.
- macOS 10.0+
A key in your application's
Helpfile that identifies the context-sensitive help to return.
The help string or
nil if the application does not have a
Help file or the file does not contain an entry for the specified
When you build your application, you can merge multiple RTF-based help files together using the
/usr/bin/compile tool, which then packages your help file information into a property list named
Help. After placing this property-list file in your application bundle, you can use this method to extract context help information from it. To look up a particular entry, you specify the name of the original RTF help file in the
key parameter of this method. For example, if your application project contains a help file named
Copy, you would retrieve the text from this file by passing the value
@"Copy to the
This method is declared in