PDA

View Full Version : Cocoa & Objective C



kudos
28th June 2004, 10:04 AM
Does anyone in here write code for the Cocoa framework
in objective C??

I'd like to learn and it would be good to bounce questions
off someone who is already familiar with it.

Cheers,
Kudos

Quamen
28th June 2004, 10:54 AM
Not me. But I would like to listen if you do find someone.

moxibustion
30th June 2004, 11:42 AM
Originally posted by kudos@Jun 28 2004, 10:04 AM
Does anyone in here write code for the Cocoa framework
in objective C??

I'd like to learn and it would be good to bounce questions
off someone who is already familiar with it.

Cheers,
Kudos

Yes, I know a bit. Fire away and I'll answer as I can.

Nevets_Anderson
30th June 2004, 09:04 PM
I'm working my way thru the Oreilly book "Building Cocoa Applications" (I think they may have up dated this recenty) It's a good book but the version I have based around 10.2.8 (althought a lot of the stuff relates to xcode) not a bad starting point.

Nevets

sfcoy
30th June 2004, 10:32 PM
Hi,

I know a bit too. I've worked most of my way through "Cocoa Programming for Mac OSX" 2nd Edition, by Aaron Hillegass, and found it to be the best book I've found so far. I tried the fat purple "Cocoa Programming" book, but that was a bit of a slog.

One certainly needs a slightly different mindset from both C++ and even Java to get into Objective C. I'm counting on eventual productivity gains to make it worthwhile.

Being an old Mac programmer from way back, I started off trying to move to the Carbon APIs, but building applications that way these days is just too hard without the help of an application framework (I used to use MacApp, but it costs money to use a modern version of that now).


Steve C.

larfinboy
1st July 2004, 02:41 PM
Hi Guys,

I'm from a C/Unix/Perl/Web background. I haven't done any programming on the Mac and luckily haven't done any C++. Thought C++ was a bit of a shambles.

I have found a reasonably good PDF on Objective-C on the ADC website:
http://developer.apple.com/documentation/C...te.html#doclist (http://developer.apple.com/documentation/Cocoa/ObjectiveCLanguage-date.html#doclist)

What books would you recommend for someone with a reason C and Java background ?

My initial interest is creating a Mac frontend to some existing Unix utilities.

Cheers

larfinboy
1st July 2004, 02:43 PM
Hi Guys,

I'm from a C/Unix/Perl/Web background. I haven't done any programming on the Mac and luckily haven't done any C++. Thought C++ was a bit of a shambles.

I have found a reasonably good PDF on Objective-C on the ADC website:
Cocoa Objective-C Language Documentation (http://developer.apple.com/documentation/Cocoa/ObjectiveCLanguage-date.html#doclist)

What books would you recommend for someone with a reason C and Java background ?

My initial interest is creating a Mac frontend to some existing Unix utilities.

Cheers

moxibustion
5th July 2004, 09:49 PM
Originally posted by larfinboy@Jul 1 2004, 02:43 PM
What books would you recommend for someone with a reason C and Java background ?

I also think "Cocoa programming for Max OS X" is a great book. It ramps you up gently from the basics of Cocoa to the more advanced features you need for a 'fully fledged' .app. You can read this book coming from just about any language, but having some C would be useful. Objective-C the language is _very_ easy to grasp, there are only a couple of extra keywords and one extension to the syntax (message passing). The rest is just like C, so you should be able to get by without an Objective-C only book. If you really feel you need to, I have O'Reilly's "Objective-C pocket reference", a great little book that covers the language features concisely without any apparent information loss. It also has useful tidbits like the differences between Apple's version of the Obj-c frontend for gcc, and GNU's.

Phillip
5th July 2004, 10:42 PM
any recommendations for people coming from vb and vb .net?

i would love to start learning to program on the mac :)

scruff
6th July 2004, 08:22 AM
Hey all,

I've written a few programs for the Mac using Cocoa and are happy to answer questions. I am in NO way an expert but a 'more experienced beginner' :lol:

There are a few great sites for Cocoa/ObjC programming and Mac programming in general...

http://www.cocoadevcentral.com/
http://www.cocoadev.com/
http://www.macosxguru.net/
http://cocoa.mamasam.com/
http://www.macdevcenter.com/mac/
http://www.macdevcenter.com/pub/ct/37

and probably a swag more... the last link was probably the best starting point I found into Cocoa programming (the author is Mike Beam). Start at the lowest article and work upwards.

Coming from a VB background look into RealBasic (www.realbasic.com) but it's not free.

Cheers -- Darren (http://www.geocities.com/dagronf)

Phillip
6th July 2004, 04:56 PM
i don't want to use real basic :(

sikosis
23rd February 2005, 03:00 PM
Cocoa's the way to go ... I'm currently working through Cocoa Programming for Mac OS X (2nd Edition) (http://www.amazon.com/exec/obidos/ASIN/0321213149/qid=1109032109/sr=2-1/ref=pd_bbs_b_2_1/104-1859652-3294315) by Aaron Hillegass.