Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Kevin Gonzales
Kevin Gonzales
4,638 Points

Should I learn Swift or objective-c?

I am about to start learning iOS development, however I do not know if I should learn Swift or Objective-c. Which one should I learn? Since Swift is the new one is it even worth it to learn Objective-C?

furthermore I am specifically interested in learning how to make mobile games. I found this course http://teamtreehouse.com/library/build-a-game-with-sprite-kit

but idk what sprite kit is and I only found it in the library, not the tracks(which I found weird. Any Ideas why?)

4 Answers

Jason Wayne
Jason Wayne
11,688 Points

Since you are about to start learning iOS development, my view is to start with Swift. Swift is like Petar said above, the future. Yes, Apple did say Obj-C is not going away anytime soon, but sooner or later, Swift is going to be the language. The reason why I suggest going for Swift is because if you do pick-up Obj-C, you'll still have to pick up Swift to keep up with the trend. However, say if you already are learning Obj-C, then it's a different scenario.

You should learn swift. Swift is future, it's easy to learn and it's going to fully replace objective-c in near future

I think it depends on what your goals are. If you see yourself working full-time with iOS development, then I would take a bet on Objective-C. If you're just messing around with iOS development, try Swift. But Apple is still tweaking Swift and it might change in the future. And there are still enormous amounts of resources and libraries using Objective-C.

Kevin Gonzales
Kevin Gonzales
4,638 Points

I eventually want to make an independent game. I can do that just by learning Swift correct?

To become an iOS Developer, the market still demands Objective-C, but with an openness to learn Swift. Like fellow commenters here have said, Swift IS the future, but you will be facing Obj-C for the foreseeable future.

Kevin Gonzales
Kevin Gonzales
4,638 Points

Ok what about becoming an independent developer? Would I ever really need to know objective-c?