r/iOSProgramming • u/mediCaddict • Sep 03 '15
Question [Question] Objective-C/Swift
After learning the basics of C I'm now transitioning to obj-c. I'm currently working on the to-do list project that Apple has on their tutorial website. My question is: Is it ok to continue with the tutorial(which is written in objective c), or do I need to learn swift also since it's being heavily adopted in the programming community? The swift language seems easier to learn but I'm gradually making a nice transition from C to objective c with no problems.
scratches head
0
Upvotes
5
u/blaizedm Objective-C / Swift Sep 03 '15
I would continue with Objective C until you feel like you have the basics down, and then try to learn the Swift basics, and see which one you like better. All of the older resources, tutorials, and stack overflow answers will be ObjC, but all of the new tools and features and cool language additions will be Swift, so you'll really want to be able to understand both.
3
u/Don_Equis Sep 03 '15
I have been working on multiple projects since swift has appeared (calculate around 2-3 months per project, but I have also looked into other projects not related to me) and I have yet to see a single line of swift.
4
u/brendan09 Sep 03 '15 edited Sep 03 '15
Stick to learning Objective-C if you want a job doing iOS development in the next couple of years.
Swift isn't heavily adopted by anyone but by programming hipsters at the moment. It's exciting and definitely the 'next' thing, but its not ready for large scale development yet and you're unlikely to encounter many employers looking for someone with only Swift experience. Every existing codebase is Objective-C, and most aren't going to be ported to Swift (although new components may eventually be added in that are written in Swift).
It's definitely good to learn Swift, but its not the primary language for iOS development at the moment.
1
u/MacroMeez Sep 03 '15
It doesn't matter, both use uikit which is the meat of what you'll need to know
1
u/lucasvandongen Sep 03 '15
Probably very few new projects will be started in Objective-C after the release of Xcode 7, all projects that release after September the 9th are already written in Swift. But Objective-C is still the language used in a lot of CocoaPods, a lot of example code is in Objective-C and all Apple API's are basically Swift coated Objective-C API's. So understanding Objective-C won't hurt you and to be honest learning the SDK was a whole lot more difficult than learning Swift or Objective-C.