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

Gleb Linnik
PLUS
Gleb Linnik
Courses Plus Student 2,558 Points

Swift or Objective-C

Hi, I wonder: what iOS programming language should I learn?

3 Answers

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

Swift. I learned Obj-C because Swift was not released yet; once I started on Swift I realized how painful Obj-C was ( although I didn't like it to begin with). Plus you can build Mac and iOS apps with them versus needing to learn c++ if you want to build for Mac. Or you can learn HTML, CSS, and JavaScript and use PhoneGap or Ionic.

Gleb Linnik
Gleb Linnik
Courses Plus Student 2,558 Points

I've learn Obj-C before even released iPhone app on the AppStore.

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

And since Swift is going to be (or is) open source, there is a good chance that it will be used for android and web apps in the future.

Gleb Linnik
Gleb Linnik
Courses Plus Student 2,558 Points

And one more question. When will Apple stop Obj-C support?

Caleb Kleveter
Caleb Kleveter
Treehouse Moderator 37,862 Points

I don't know. I think there might be some things that Obj-C can do that Swift can't, but I'm not sure.

I would recommend first to learn obj-c because this is the basic language. You should have understanding about references pointers and how they interact with each other. And youΒ΄re really question is: should i learn iOS? Because swift and obj-c are the languages. But you have to get Experience in using the Framework and all the Kits. UIKit, EventKit, MapKit, AVFoundation aso... The best way to learn that is Obj-c

Then you will be ready for the coming open source swift :-)

Greets Thorsten