Learning iOS development Swift or Obj-C?
I'm keen to learn iOS development (just for fun/curiosity), am I better off going the Obj-C or Swift path?
From a quick search Obj-C obviously has a lot more learning material and tutorials, but Swift seems like it's going to be the "future" of iOS dev so might be better to learn now?
I come from a web background (LAMP, JS, CSS) if that matters. No CS background, this will be my first "real" programming.
Any pointers to the best learning material would also be much appreciated.
7 comments
[ 0.20 ms ] story [ 28.4 ms ] threadThe quickest way to learn Obj-C is to write command line programs for Mac OSX. Maybe find source for a C or C++ hello world program and convert it to Obj-C. Once you are comfortable with the language then try writing a Mac application or iOS application.
The best iOS material is: - Objective-C programming book from big nerd ranch or Programming in Objective-C from Stephen G. Kochan (more in-depth) - cs193p from Stanford (iTunesU) iOS 7 course is objective-c. iOS 8 course (starting in 2015) will be swift.
After cs193p you should know enough to make apps. If you want to be a great iOS developer, you should also learn: - ios / cocoa design patterns - cocoapods | git - visit http://nshipster.com - visit http://objc.io - Learn from other apps source code: http://maniacdev.com/2010/06/35-open-source-iphone-app-store...
Handy links: Obj-C online reference: http://rypress.com/tutorials/objective-c/ Obj-C cheat sheet: http://cdn1.raywenderlich.com/downloads/RW-Objective-C-Cheat... iOS tutorials: http://nscookbook.com/recipes/ | http://www.appcoda.com | http://www.raywenderlich.com ! | http://nsscreencast.com/
I've been amazed at how quickly the iOS development community has started porting tutorials written in Objective-C to Swift.
The learning ecosystem for iOS is light-years ahead of Android.