Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

NATO

macrumors 68000
Original poster
Feb 14, 2005
1,702
35
Northern Ireland
I know there's a lot of threads about learning how to program etc, but I haven't quite got an answer to my specific query and I'm hoping someone can help.

I hope some of those familiar with OS X and iPhone development would be able to help me find a starting point as I've been trying to get started with Mac OS X and iPhone develpment but I'm finding myself a little bewildered.

I'm coming from an electronics background, with limited programming experience in C developing simple command-line applications (No GUIs). I've some other programming experience in Assembler and MATLAB but those aren't really as important as C.

I've never had the need to develop with Object Orientated techniques, but I've done some background reading and I'm fairly happy with what it is, how it works etc from a theoretical point of view.

I've got a copy of Aaron Hillegass's Cocoa programming book, but after working through the first few chapters, I'm wondering if there's something else I should read first before going into it further because there's a lot of OO talk and I'm not really following the code examples too easily as it's definitley a departure from my more familiar procedural C.

Am I best perservereing with Aaron Hillegass's book, or have any of you some suggestions of some more suitable background reading to take my (rusty) Procedural command-line knowledge of C to the required level for Cocoa development?

I'm just feeling a little bewildered right now as I was always familar with just creating a .c file and starting from a main() function and working from there, whereas in XCode it seems even a basic app requires numerous source files and it just seems very complicated from a structural point of view, compared with my existing programming experience of simple apps which all revolved around the central main() function. I just feel that there's a big initial step to overcome before I start feeling comfortable enough to start experimenting.

Can anyone help me out?
 

MacRohde

macrumors regular
Jun 1, 2004
164
0
Copenhagen, Denmark
I would personally start by learning the language (i.e. Objective-C) really well before I start learning one of the APIs (i.e. Cocoa).

So my advice would be to start with Kochan's book (Programming in Objective-C 2.0), before starting with the Hillegass book.
 

NATO

macrumors 68000
Original poster
Feb 14, 2005
1,702
35
Northern Ireland
Thanks for the advice, I'll see if I can pick up a copy of that book. I've had a look on some of the links from the sticky and I've picked up the Apple Objective-C guide and Object Orientated Programming Guide, hopefully that'll help :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.