Worth learning Swift?

Hi all,

I have been an Obj-C programmer since 2007 (other langauges before than) and have been making iOS apps ever since. Of late, I have been noticing that almost all new code examples are now written in Swift.


Does this old programmer need to tke the time and learn Swift? How hard was the transition for some of you?


Thanks,

Dan Uff

You don't have to—Obj-C is still fully supported, even in the brand-new watchOS and tvOS. Apple still cares about it because they've upgraded it several times to be compatible some of Swift's cool new features like optionals. Besides, Swift can be kind of hard to use, at least for now. Others have pointed out that there's a fair amount of frustration since it continues to evolve at a pretty fast rate and old code just won't compile. So you're perfectly fine to continue using Obj-C, but Swift is definitely worth looking into for the future.

Sure, agree it's time to learn Swift. Personally, I've found it easy to follow and I figured now was the time as it still has significant growth in the curve making the pace quite tolerable.

If you are an experienced programmer, maybe you know, Mac's first programming languge was Pascal, people were talking about C/C++ if it was worth learning them. Guessing the future based on the past, would not be a bad thing.


I started Objective-C, at the time Apple introduced the first public beta of OS X. And I started Swift at the day it was publicly introduced at WWDC 2014. It was not too easy, but I can say Objective-C background helps in many ways understanding Swift.


One hard thing is you are treated as a novice in the Swift world for a while -- may not be so long --, which seems, for some experts, to be an inevitable thing.

TVOS supports Obj-C? Almost all of the example code in the developer's library is in Swift, or did I miss something?

Worth learning Swift?
 
 
Q