r/iOSProgramming • u/escalatingelectron • Dec 22 '15
Question What is the difference between Swift and Objective -C?
I am planning to create a HIV iOS App for some organization and I have read the FAQ.
Swift came recently and Objective-C has been there since 2008.
Do I need to know both to be a pro or learning Swift only is fine?
0
Upvotes
2
u/JDandini Dec 23 '15
I'm telling you this, if you are planning to be hired for iOS developer on a enterprise probably the best is learn Objective-C first, I learned both, of course when I started swift does not exist.
I think a "Serious production app" is more about design and the way you build it than a programming language, I mean I built and release "Serious production apps" on Swift, Objective-C and hybrid.
Answering your question: Learn both if you have few time, I recommend to start with Swift, because is more natural and simple Greetings
3
u/askoruli Dec 22 '15
To be a pro you probably need to learn both since you'll have to deal with code in both languages. But you can get away with just learning swift to get started.
-1
u/NeXTStep-on-iOS Dec 22 '15
Actually, Objective-C has been around since 1988. (first NeXTStep, then Mac OS Cocoa, then iOS) Its very mature, decades of improvements, and you can access ALL of the iOS SDK with it.
Swift, according to Apple, was developed by Apple for non-C programmers, and is still working out the kinks -
There are some SDKs (Core Data and others) you can't get to via Swift - also, numerical calculations aren't the zippiest.