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 Objective-C Language

The Objective-C language is based on the C language, which has a very simple syntax. The Java language borrows heavily from C’s syntax; therefore, it should be easy for Java programmers to familiarize themselves with the syntax used in Objective-C.

These are some of the salient differences between Java and Objective-C:

For an in-depth discussion of Objective-C, see The Objective-C 2.0 Programming Language.



< 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