Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

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.

Look Up Documentation

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:

  1. Open ConverterController.java in an editor window.

  2. 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.”

  3. Close the Developer Documentation window.

  4. Command–double-click the same word. A pop-up menu with a list of method names appears.

  5. Choose [NSCell setFloatValue]. This time, Xcode jumps to the method declaration in the associated Objective-C header file.

  6. Close the header file.



< Previous PageNext Page > Hide TOC


Last updated: 2006-10-03




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice