O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSHelpManager — Mac OS X 10.0

Synopsis

This class provides an interface to an application’s help manager object used to provide online help in the application. You won’t need to use this class, as Project Builder and Interface Builder provide support for integrating help documents with an application.

image with no caption

@interface NSHelpManager : NSObject
                                  // Accessor Methods
   - (void)setContextHelp:(NSAttributedString *)attrString 
                                 forObject:(id)object;
                                  // Class Methods
   + (BOOL)isContextHelpModeActive;
   + (void)setContextHelpModeActive:(BOOL)active;
   + (NSHelpManager *)sharedHelpManager;
                                  // Instance Methods
   - (NSAttributedString *)contextHelpForObject:(id)object;
   - (void)removeContextHelpForObject:(id)object;
   - (BOOL)showContextHelpForObject:(id)object 
                                 locationHint:(NSPoint)pt;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required