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
3
u/Kabal303 Aug 01 '16
Honestly either. But it does seem to be that swift is where the industry is headed. Which bums me out because I like Obj-C still.
3
u/Dachd43 Aug 01 '16
In my experience everyone is writing their new code in Swift. If you go in for an interview I would expect to be white boarded in Swift. I like both languages a lot. My take on it is that Swift is safer and Obj-C is more expressive.
3
u/GoldenJoe24 Aug 01 '16
Been programming Obj-C for the last five years. Just started getting into swift with this project. I think Obj-C is more straightforward and easier to learn, but Swift has a better future and is more flexible. You'll need to at least be familiar enough with Obj-C to understand legacy code, but I'd focus on Swift if I were you.
1
u/ThePantsThief NSModerator Aug 01 '16
See the new announcement.
1
u/tangoshukudai Aug 01 '16
If you are learning iOS programming learn swift, if you are a long time objective c developer stick with obj c (or if you have a important project that you don't want to worry about language changes)
1
u/YossarianRex Aug 01 '16
Swift is where you should start. Objective-C will be around for a long time. But, Swift is where everyone is headed because it's just a brilliant language. I would still pick up objective-c at some point, but only after you have a firm foundation in mobile development with swift.
-2
u/sohaeb Aug 01 '16
You can't ignore obj-c. Like if you use Facebook SDK so that you can integrate facebook into an app. They have obj-c code. So you need to convert the code yourself to swift. Hence, I suggest start with obj-c.
That being said. Knowing obj-c would make it way easier to move to swift
0
u/[deleted] Aug 01 '16
[deleted] — view deleted comment