• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New to Objective-C/Cocoa Programming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New to Objective-C/Cocoa Programming


  • Subject: Re: New to Objective-C/Cocoa Programming
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 23 Feb 2004 12:28:35 -0500

On Feb 23, 2004, at 6:21 AM, Jeremy Dronfield wrote:

I recently purchased my first Mac and I am going to develop programs using Objective-C/Cocoa. There is a "tutorial" at http://www.macdevcenter.com/pub/a/mac/2003/07/22/cocoa_series.html with the author's purpose to teach just enough C to get us good enough to start doing "day-to-day" programming in Objective-C. If I need to know C to program in Objective-C what is the difference between the two and do they use the same compiler? How do I find out what compiler and version is installed on my computer so I can look for books to help me learn the correct syntax?


Objective-C is an extension of C. So you need to know C to add the Objective-C skills to that.

I think "need to know" is a bit strong. At least, I don't think you need to learn C before even approaching Obj-C. The process of learning Obj-C through tutorials will probably teach you most of the C you need (assuming they're good tutorials). Then, just keep a C reference handy for emergencies.

Well, it's true that you don't need to know C to get started, I think an understanding of it is crucial to making real headway.

The difference between the two is that Objective-C is designed to be object-oriented and consists, essentially, of objects sending messages to each other. The upshot of this for the newbie is that they look as if they're completely unrelated languages. For an explanation of how Obj-C works, read

/Developer/Documentation/Cocoa/Conceptual/ObjectiveC/index.html

And in the meantime do as many tutorials as you can find. The best one is Vermont Recipes.


Yep, Bill's is a great book, so are Duncan's and Aaron's. All are good starting points for new developers. After that, it's a bit of a stretch other than visiting the docs directly. Cocoa Programming (by myself, Erik Buck and Don Yacktman) is somewhat dated, although probably 80% of the book still holds up with 10.3.

Apple's Cocoa docs are much better than they were, and we're striving to make them better every day.
_______________________________________________
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.
  • Follow-Ups:
    • Re: New to Objective-C/Cocoa Programming
      • From: James Duncan Davidson <email@hidden>
References: 
 >New to Objective-C/Cocoa Programming (From: Thomas Roberts <email@hidden>)
 >Re: New to Objective-C/Cocoa Programming (From: Scott Anguish <email@hidden>)
 >Re: New to Objective-C/Cocoa Programming (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Re: Problems deleting a Window in IB
  • Next by Date: Re: NSTableView [solved]
  • Previous by thread: Re: New to Objective-C/Cocoa Programming
  • Next by thread: Re: New to Objective-C/Cocoa Programming
  • Index(es):
    • Date
    • Thread