Re: Start using Cocoa
Re: Start using Cocoa
- Subject: Re: Start using Cocoa
- From: Jeremy Dronfield <email@hidden>
- Date: Thu, 12 Sep 2002 14:33:15 +0100
On Thursday, September 12, 2002, at 11:59 am, Ondra Cada wrote:
On Thursday, September 12, 2002, at 10:18 , Jean-Baptiste Le Stang
wrote:
I've seen in the documentation of the developers tools many
references
to C/C++/Obj-C. Have i to learn how to use thoose three languages
before
using Cocoa?
You have to learn Objective C (which means also plain C, for ObjC is
its superset).
To a Cocoa newbie whose programming experience is confined to AS and RB,
this elementary fact can actually be quite bewildering and even
discouraging - because, to the newbie eye, C and ObjC look about as
similar as French and Russian. It's only once you've gained some
experience that you begin to understand how C has been modified to form
ObjC.
Speaking as a relative newbie myself, my advice is not to attempt to
*learn* ObjC right off. Learn to build applications in the Cocoa
environment, and pick up the language (and the Cocoa API) as you go
along. Putting yourself in a real-life environment is the best way to
learn a human language, and the same is true of a programming language.
Start by doing as many tutorial projects as you can get. The best
sources for newbies are Mike Beam's Learning Cocoa series at
MacDevCenter (
http://macdevcenter.com/pub/ct/37 ) and Bill Cheeseman's
Vermont Recipes (
http://www.stepwise.com/StartingPoint/Cocoa.html ).
Doing these tutorials (and reading the documentation they refer you to)
won't result in you *learning* ObjC, but you'll get a feel for the
language, which you can then develop by studying the documentation in
detail. As for "plain" C, you should get a decent reference. Kernigan &
Ritchie's book is the standard work, but there's a good online reference
at
http://www.eskimo.com/~scs/cclass/cclass.html if you want C for free.
-Jeremy
========================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.