Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Introductory course to iphone development (csail.mit.edu)
58 points by geeko on May 6, 2009 | hide | past | favorite | 14 comments


If you know C/C++ and want to get into Objective-C I recommend the "Objective-C Guide for C++ Programmers": http://ktd.club.fr/programmation/fichiers/cpp-objc-en.pdf

It goes through step by step and explains how the OO terms you know map from C++ to Objective-C, e.g., "If you want to declare a static class method, you use this syntax..." If you're familiar with OO in general it's pretty good, too.

It really lowers the Objective-C syntax hurdle, IMO.


Besides of this course from MIT and the one at Stanford (http://www.stanford.edu/class/cs193p/cgi-bin/index.php), what other sources are you using to get into iphone development?


The two things that got me started were "Cocoa Programming for Mac OS X (3rd Edition)" by Aaron Hillegass: http://www.bookdepository.co.uk/browse/book/isbn/97803215036... and iCodeBlog which has excellent tutorials for beginners: http://icodeblog.com/


I was trying to follow along with the Stanford course but found myself lost early on. Do you think the Cocoa Programming book covers enough Objective C / OOP basics for a beginner?


The preface of the book says 'This book is written for programmers who already know some C programming and something about objects'. I'm not a strong coder, but it has been great in getting me started and teaching exactly how Objective C / Xcode / interface builder work together to create an application. I bought the book but if you want to have a quick flick through the older second edition before purchasing the someone has it on rapidlibrary.com.


I do graphics and entertainment stuff, so this has been interesting: http://iphonedevelopment.blogspot.com/

also the Apress books about iPhone development and objective C have been the best books I've seen.

I haven't seen any other online courses I've liked other than the stanford one.


May I ask how long it roughly took you to get started and what was your prior experience with objective C?

(Thanks for the recommendation, just bought the apress iphone dev book)


It probably took about 40 hours to feel comfortable with objective C and the cocoa touch APIs. I still have to refer to the SDK docs. I didn't have any prior experience with Obj-C.


Sadly, I believe the difference between being able to write a simple iPhone app quickly (say tables, pulling data, 8 hours, knowing IB and what methods to hook) and slowly (constantly googling, checking XCode docs, StackOverflow, wondering about memory management) is simply months of experience (which will vary depending on time invested). There are ways, of course, to become better faster but I think it almost has to become mind memory (like muscle memory) where you know how to do certain things near automatically. Until then, frustration can be du jour.

My friend who has been lucky enough to get a job doing Cocoa development (without knowing Objective-C/Cocoa) has taken about six months to become proficient (and he still has trouble - and when he pair-codes with excellent Cocoa programmers - just tries to not get in the way).

I stopped a while ago but will restart - I'm still very much on that learning curve.


http://www.mobileorchard.com/ is another resource dedicated to iphone development.


Are there any iphone development tools for Linux?


There was a thread about this on Stack Overflow:

http://stackoverflow.com/questions/276907/starting-iphone-ap...

In summary, it is not impossible, but if you want to distribute your app through the app store, you should probably get a Mac.


That's pretty lame.


I believe that Iphone development can only be done on a Mac.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: