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

Shazad Kazi
Shazad Kazi
10,758 Points

Objective - C, Swift , Swift 2.0

Hi Everyone,

Hope you are having fun coding.

Just wanted to ask what the difference between each language is? Pro's and Con's Any interesting courses you've seen at treehouse? How hard the languages are comparatively?

Happy coding :)

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Shazad,

Here are a couple of past posts that may help with your question:

Stephen's response on Objective-C and Swift

My response on Swift vs Swift 2

I hope that helps with your question. Basically, if you're looking to be an iOS developer. You will need to know Swift (current version is 2.x). But you will also need to know Objective-C. Either way, good luck with you studies! :)

:dizzy:

Shazad Kazi
Shazad Kazi
10,758 Points

Thank you Jason,

So just to clarify, Start of with Objective C then move on Swift 2.0 then go onto Swift 1 as a refresher.

Jason Anders
Jason Anders
Treehouse Moderator 145,858 Points

That's the way I did it, but everyone will have an opinion. I found this path worked really well, and things just stuck. Swift (2.x) is the new way to code for iOS, but it's build off of Objective-C. In my opinion, at least a basic working knowledge of Obj-C will only benefit your learning of Swift.

:dizzy:

Laurie Gray
Laurie Gray
23,119 Points

I do quite a bit of iOS work where I am now and for us it's swift all the way as we're making things from scratch. However if you're going for an iOS developer job you'll be working with both.

I started with obj c as it taught me a great foundation in c based language syntax so I could get super familiar with how it all worked and looked and that is something that has paid off massively in the long run.

If you know obj c, swift will seem a lot more friendly and quicker to work with. It's also safer in that your apps probably won't crash as much.

In learning obj c though you'll be able to look at Java and c# and very quickly fill in the blanks if you ever need to diversify your skill set.

The one thing I would say is that there are a lot more modern tutorials for things like SpriteKit in swift just now which makes learning that particular language a bit more fun.

Either way it's a lifelong journey and start with whichever you think you need right now.

Shazad Kazi
Shazad Kazi
10,758 Points

Thank you Laurie. I shall take that into consideration :)

Happy coding