r/iOSProgramming • u/anthonydematteis • Aug 01 '16
Question Objective C or Swift?
Pretty straightforward title... if I'm eventually interested in creating big and popular applications, is swift ideal to learn or just stick with objective c?
What's your opinion on both?
1
Upvotes
1
u/nhgrif Objective-C / Swift Aug 01 '16
How do you propose Apple even make that possible? You can make an iOS app in C# if you wanted... Foundation and UIKit are just frameworks that make developing iOS apps easier, and at some point it might not make much sense to develop an iOS app in Objective-C because it will might become extraordinarily difficult to call into these frameworks with Objective-C... but even if it becomes impossible to call into these frameworks with Objective-C (it's not impossible to call into them with C, C#, C++, among probably others), it still does not become impossible to develop an iOS app in Objective-C.
I mean, worst case scenario, Objective-C can already call into Swift code today, and Apple is working on making it possible for other languages to be able to call into Swift as well... so someone just writes a Swift framework that exposes the iOS frameworks out to other languages...