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

¿is it necessary to learn objective-c or it is enough with only swift ?

Hi, i learn how to make apps in swift, and i can make some things like use maps, gps, web content, the camera and things like that, but my question is ... it is necessary learn objective- c ?? or i can just focus on swift.

i ask this because i am just a beginner and i want the point of view of the experts.

thanks ;)

3 Answers

Dear Paula,

I have been asking the same question for the last few weeks, and I'd like share my opinion with you but before a little information about me. I'm 25 years old and lately(in June 2015) I decide to become a programmer. I tried it, feel it and I liked it ). But I did not know where to start or what language should I learn first. I tried python, PHP, JavaScript, Java and so on. It was hard time, I was confused and frustrated but did not give up. Then I find this tutorial here at treehouse with Amit. And it was a luck cause every think he taught I understood very good. I think Swift should be everyones first programming language because it's easy to pick up ) Well back to your question...

1) Learning Swift you kinda investing to the future you know nothing about. Swift is a new language for IOS developers and also for the beginners who wanted or wants to develop an app for IOS. It's great time to start! If you want a job as IOS developer you need know objective-c though. Objective-c was around way too much so no one is going to rush and rewrite their code in Swift because it's new. We need to wait. But imagine in 2020 you and I we both will have 5 years experience in Swift as we started from the very begging. For that time swift will increase it's popularity and will as important as objective-c(at least I think so). As I said it's like investing to the future you know nothing about very like gambling )) I recommend you not to give up despite on everything. Create you apps in Swift.

Swift camed in 2014 if im right . When you learn Obj-C , you dont only learn it. You learn as well as C, C++, C# which you can do anything. C will be still popular and strong. Whatever other says, C can do eveyrhitng and it will be still long till something else will come up because it has C++, C# and C plus Obj-C if you know what i mean. But learning Swift to a fast start and friendly thingy is ok i believe. I would jsut dive in C anyways. DO some research about C .

While it's not technically necessary to learn Objective-C if you know Swift, it's highly recommend. Swift is the future, but Objective-C is what Swift is built upon. You'll gain a far deeper understanding of both languages if you learn both, and it will make you a much more rounded developer. It'll also significantly help you figure out what code on places like StackOverflow or GitHub do/are trying to do, as Objective-C has been around since the late 80s, so most iOS/OS X code is written in it. To reiterate, it's not strictly necessary, but it's incredibly helpful. I'd give it a go, if I were you

Hi Paula,

I know a lot of people who would say go with Objective-c and also a lot of people who would say go with Swift. From you posted, I'd go with swift since it is a very beginner friendly language (modern syntax, etc.) and it'll accomplish what you want (use maps, GPS, web content, the camera and things like that).