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
truemaulik
Courses Plus Student 7,765 PointsLearn Swift or Objective C
I want to become a good iOS developer with no compromises.
Should i learn Swift only, or there is a need to learn & know Objective C as well.
I am an indie developer.
Thanks for help
3 Answers
thomas howard
17,572 PointsSwift is the first code that Apple has released since objective C was developed in the 1980s and evolved during Steve Jobs's stint with Next Step computers. This is why so many of the classes have NS before them. E.g. NSObject. These same classes are still used in Swift, so are many of the classes from all the numerous frameworks that you can import into your projects.
In the 30 years since Objective C arose, many of the limitations from computers back then have faded. So certain actions are no longer needed, like Alloc Init-ing certain objects. Most newer languages do not need to be as painfully specific any more. Most arose from the middle 1990s when the internet exploded. They have more streamlined syntax, and so does swift. I just wish I new more of it, but you can learn more each day and know it has taken decades to get to this point so you're not going to be a master tomorrow.
Mike Rogers
5,280 PointsLearn Swift it's the way forward, plus along the way you'll end up picking up a lot of Objective-C just through reading documentation with Swift / Objective-C side by side.
truemaulik
Courses Plus Student 7,765 PointsThanks so much for replying.
So if i learn start learning Swift then, i would never have to learn Objective C or still i will need to learn it in the future.
Thanks so much for your precious time.
Stephen Whitfield
16,771 PointsIf you plan on working in the industry, you might want to learn both. For now, though, get great at Swift but just be familiar with Objective-C.
truemaulik
Courses Plus Student 7,765 PointsThanks so much for replying.
So, i will first study Objective C to get familiar with it. And then i will continue on to master Swift programming.
Thanks so much for your precious time & helping me out :)
truemaulik
Courses Plus Student 7,765 Pointstruemaulik
Courses Plus Student 7,765 PointsThanks so much for replying. I know I am not going to master tomorrow, it will take time for sure. But I will try my best.
Thanks for taking your precious time for the reply & explaining about the language differences in detail. In your answer there were many things to learn that I didn't knew before.