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

What should I choose between Swift and Objective C?

I am more interested about Swift than Objective-c. I started watching some Objective - C courses but I don't get it, it just doesn't pass. But when I code in Swift, I feel comfortable and it is so easy for me to keep up because I am a beginner. My question(worry) is that I hear a lot of developer saying that we should learn Objective C first and then Swift. If learning Objective-C is a necessity, I would like more informations. And could you guys put more swift courses please because we are so excited to learn more about Swift. Thanks.

3 Answers

Mari Johannessen
Mari Johannessen
12,232 Points

It all depends on what your goal is with learning either of the languages. From Treehouse's blog: Are you pursuing iOS Development as a career? If so, then there are at least 1 million apps out there written in Objective-C. Swift just got released in June 2014 so chances are that your future employer’s apps will be written in Objective-C. It is essential that you learn Objective-C to get a job as an iOS Developer until Swift becomes a standard, which will take a few years. Until then it would benefit you to learn both the languages. Your future employer might even task you with converting their existing Objective-C app into Swift. They encourage beginners to start out with Swift because it is a familiar language and easy to learn thanks to the playgrounds. Once you have learned Swift then you can always look into learning Objective-C if pursuing iOS Development as a career :)

Sean Do
Sean Do
11,933 Points

Here's a good article from Amit Bijlani, he's the iOS Development Teacher.

Learning Swift vs Objective-C by Amit Bijlani

Thanks guys! Clear and precise response.