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.

Learn the Cocoa Class Hierarchy

Just as Java programmers must learn the hierarchy of several Java packages—such as java.lang, java.util, and java.awt to develop applications—aspiring Cocoa programmers must familiarize themselves with the Foundation and Application Kit (AppKit) frameworks, Cocoa’s main frameworks.

Cocoa applications use the Foundation framework to work with essential data types, such as strings, numbers, and dates, and to interact with system resources. They use the AppKit framework to present their user interface to the user and respond to user events, such as button clicks and menu choices.

For more information about the Cocoa frameworks, see The Cocoa Frameworks in Cocoa Fundamentals Guide.



< 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