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 Swift Basics (retired) Variables and Constants What is Swift?

Matthew Johnson
Matthew Johnson
934 Points

Objective C or Swift?

Hi, I've just started learning to program with your Objective C track. And, I've just now heard about Swift and watched the video. In order to grasp the basic concepts and hopefully make an app of my own would you suggest I switch to Swift or stay on the Objective C track? Thanks

8 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

I noticed this question coming up quite often so I wrote a blog post about it: Learninig Swift vs Objective-C

I went through both courses, well I'm going through the swift one now. I went in with a understanding of the syntax and terms due to having a web development background before hand. I personally would suggest you do the Swift course, the reason I say this is because Amit Bijlani takes a never touched or heard of any kind of code or even the word code or syntax in your life approach. I think that course is PERFECT for non developers/trying to breaking into programming for the first time.

Swift has a very simplistic syntax. I feel like you would enjoy that better then objC, don't get me wrong you should know both, I feel the more you know the better, BUT in MY opinion Swift would give you a faster running start.

This has been my 2 cents on the topic. Lol.

And that Matthew Johnson is the best thing you can do is learn both, I think every answer you got, we all agree on that at least, like I said I learned objC first...for the marathon race learn C>ObjC>Swift, for the sprint race learn Swift first, lol.

Stone Preston
Stone Preston
42,016 Points

the languages have a vastly different syntax. However the concepts and methods used in iOS development remain the same between the two languages so it really does not matter what you start with. I would say its important to learn both though since objective C is still going to be around for a while and its important to know how to write and understand both languages

Michael Hulet
Michael Hulet
47,913 Points

Given the other 2 answers, I know that the addition of this answer will probably leave you exactly where you started when you asked your question, but I'd say you should definitely do Objective-C first. Objective-C will be supported in iOS long into the feature, and it's a very old language, so it's very stable and well-documented. Also, it's a much easier language to learn conceptually than Swift. Furthermore, Swift was only announced in June, and the language is still evolving (did you know that it's actually not built into iOS yet, even iOS 8?), so there still may be drastic changes in the near future. All in all, it's a much better idea to start with Objective-C, in my opinion

Matthew Johnson
Matthew Johnson
934 Points

Thanks for the advice guys. Haven't decided yet if I'll change to Swift just yet but either way, I'll learn both. Cheers

I think I'm going to be learning both but after a few weeks of Obj C I'm going to start Swift now so I have that basis and then go back to Obj C. Thanks for the advice guys.

Will if you watch the "What is swift?" video on the IOS Development with swift course he explains what you are asking in the very beginning of the video.