PDA

View Full Version : Advice on how to learn iPhone programming fast and efficiently




HyperSnake
Jan 5, 2009, 02:44 PM
Hi,

I didn't know any programming until very recently where I bought Brian Overland's ''C++ Without Fear''. I've know read about 150 pages and know and can use variables, functions, arrays and other basic stuff. My ultimate goal is to learn Objective-C and Cocoa for iPhone development. I read that I had to know C to be able to learn Objective-C, but I chose C++ instead since I was told C and C++ are very similar and that C++ is newer and more used. The reason I'm posting this is because I would like some advice / guidance on which books/online guides worth reading, which things not worth spending my time on and how I can learn Objective-C and Cocoa as fast and efficiently as possible. Im very optimistic about programming and planning to spent as much time as I can on it. If possible, could anyone maybe put an estimate on when I may have learned enough Objective-C and Cocoa to start writing my own iPhone apps if I spent about 2 hours a day on learning it?

Thank you in advance.:)



detz
Jan 5, 2009, 02:50 PM
Let me guess, you want to create an iPhone app to make lots of money. :rolleyes:

Reading books and following examples are one thing, building a user friendly stable application it's another. With that said the book that taught me Cocoa and a little Objective-C was this one. (http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619) It took me two weeks to create my first app...but I have over a decade experience in computer programming. :p

HyperSnake
Jan 5, 2009, 03:02 PM
Let me guess, you want to create an iPhone app to make lots of money. :rolleyes:

Reading books and following examples are one thing, building a user friendly stable application it's another. With that said the book that taught me Cocoa and a little Objective-C was this one. (http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619) It took me two weeks to create my first app...but I have over a decade experience in computer programming. :p

1. Not really, want to write some custom applications to put on my iPhone through installer or cydia, but if one gets good I might consider putting it on App Store even though what I have in mind probably wouldnt come through.

2. Okay thx, I will take a closer look at that book.

Poff
Jan 5, 2009, 04:20 PM
I'm currently reading the book Detz suggested through a free 10 day trial here (http://my.safaribooksonline.com/9780321562739). It might be worth looking at before you buy. My impression is the book is well thought through and a good place to start.

If you are new to Objective C you might want to read this (http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/chapter_1_section_1.html) before signing up for the 10 day trial, though. There's a handy link at the top left where you can download the whole thing as a PDF and print it if you like.

mraheel
May 14, 2009, 06:56 PM
You might wana look at how serious this is. Commitment is important. take a look here.. http://imandroid.org/2009/05/13/getting-started-developing-a-mobile-app/

Tech Star
May 14, 2009, 08:13 PM
So you have to learn C++ to learn Objective C?

http://search.barnesandnoble.com/Programming-in-Objective-C-20/Stephen-G-Kochan/e/9780321566157/?itm=2

Get that to learn Objective C. I heard it was a good book.

dejo
May 14, 2009, 10:24 PM
So you have to learn C++ to learn Objective C?
No, you don't.

TAJones99
Jun 26, 2009, 10:44 AM
If you have the desire to do this you can, there is a lot to learn but I didn't know anything about programming I bought Stephen G. Kochan Programming in Objective-C 2.0 and Beginning iPhone Development Exploring the iPhone SDK by Dave Mark and Jeff LaMarche, and finding things on the web I made my first app I know Ojective-C and the API'S and it didn't take me years to do, don't get to involved in theses forums some people feed you doubt and some are here to help you the is so many things on the web and books to help you do what you need to theses days than like 15-20 years ago you can do anything you put you mind to if you fail you learn and you do again til you get it right and you will the resources that are available now is our learn curve and I wish you success.

firewood
Jul 28, 2010, 10:35 AM
My ultimate goal is to learn Objective-C and Cocoa for iPhone development. I read that I had to know C to be able to learn Objective-C, but I chose C++ instead since I was told C and C++ are very similar and that C++ is newer and more used.

IMO, learning plain C, not C++, plus playing with a simple educational interpretive object oriented language (Squeak or Scratch, maybe Ruby), is a better path to learning Objective C for Mac OS/iOS

C++ has a different OOP paradigm, and pile of features/tricks that are not optimal use with Objective C.

Plus, if you learn to deal with and debug C pointer and memory management issues, you will be way ahead of the game in programming for iOS.