Important: The Java API for Cocoa is deprecated in Mac OS X version 10.4 and later. You should use the Objective-C API instead. For a tutorial on using Cocoa with Objective-C, see Cocoa Application Tutorial.
Xcode gives you access to ADC Reference Library content. You can jump directly to documentation and header files while you work on a project. Try it out:
Open ConverterController.java in an editor window.
Option–double-click the word setFloatValue in the code. (Hold down the Option key and double-click the word.) The Developer Documentation window appears with a list of relevant method names in its detail view. The Java language version of setFloatValue in NSCell is highlighted in the detail view, and its associated HTML-formatted documentation appears in the content pane. This reference-library access system provides a fast way to get to reference material. Read more in “Expanding on the Basics.”
Close the Developer Documentation window.
Command–double-click the same word. A pop-up menu with a list of method names appears.
Choose [NSCell setFloatValue]. This time, Xcode jumps to the method declaration in the associated Objective-C header file.
Close the header file.
Last updated: 2006-10-03