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

Ryan Maneo
Ryan Maneo
4,342 Points

Confussled

I'm a bit confused. Am I still allowed and able to make iOS apps using Objective-C for the current version and future versions? Does Swift compile into Obj-C? Would it be useful to know both? I didn't know if Apple still supported it as it seemed slightly obsolete because of Swift coming out, however I would definitely be interested in learning Obj-C along with Swift since Obj-C is pretty stable and the syntax won't change every few years. This is contingent on Apple still supporting Obj-C which if you could fill me in on that I'd be very grateful.

3 Answers

Greg Kaleka
Greg Kaleka
39,021 Points

Hi Ryan,

Here's how I see it:

Swift is the future. Eventually, Obj-C will be phased out. However, there's a huge amount of source code out there in Objective-C. Open source frameworks, most of Apple's own code, code a future employer might have, etc. It's tremendously useful to know as an iOS developer, even if you're a Swift-first developer. I don't expect knowing Objective-C to be irrelevant for at least 10 years.

Hope that helps.

Cheers :beers:

-Greg

Ryan Maneo
Ryan Maneo
4,342 Points

Yes thank you, but could you answer one of my original questions if you don't mind; does Apple still accept Applications written in Obj-C?

Greg Kaleka
Greg Kaleka
39,021 Points

Yes absolutely they do. Also, no, Swift does not compile into Obj-C.

Ryan Maneo
Ryan Maneo
4,342 Points

Thanks! Big help! I only asked this because of the new course added for Swift developers to learn Obj-C. I'm re-taking Object Oriented Swift right now because I forgot some syntax. After I finish the Swift course I'll likely take that one.

kayode oyedeji
PLUS
kayode oyedeji
Courses Plus Student 7,988 Points

swift is the future of ios app and i won't be surprise if apple send objective c down to drain in few years to come. swift has gone open source which means it will be supported by many developers also. i will advice you to learn swift and learn it well because there are still many great things to come with with swift especially now that is an open source language. best luck and have fun

kayode oyedeji
PLUS
kayode oyedeji
Courses Plus Student 7,988 Points

yes apples still accept applications in obj-c but won't be surprise if they announce in the future that they stop accepting applications in obj-c. swift is developed by apple and most ios jobs out there now require you are sound in swift which is the future for everything apple and it won't be tie to apple alone now that it is an open source language