Swift is again replacing Objective-C, report claims


Swift may finally be replacing Apple’s former favorite, Objective C, according to the latest Tiobe programming language popularity charts.

Swift is on the way up (again)

The trend should be of a little interest to watchers, as it suggests significant changes both in how developers are approaching the platform and in what our expectations of future application development should be.

Java, C, Python and C++ remain the top languages, of course, but Swift has climbed ten places to become the tenth most popular programming language according to the Tiobe report, with Objective C falling from tenth to twentieth position. 

“In 2014 Apple announced the new programming language Swift to be the successor of Objective-C. At that moment Objective-C was at position number three in the Tiobe index, and development of mobile apps for iPhones and iPads was booming,” Tiobe explains.

“After the announcement Objective-C dropped from 12% market share in 2014 to 1% market share in 2016. Surprisingly, Swift grew from 1% to only 2% at that same time. The other 10% was consumed by other programming languages that appeared to be compilable for multiple mobile platforms,” the report continues.

Has this been as a result of Catalyst?

Now, I think it possible that the Swift’s growth reflects Apple’s quiet  move toward a develop once, use anywhere approach.

Catalyst, after all, lets developers more easily port apps from iPad to iPhone, or iPad to Mac, and while it’s not a perfect solution it is seeing more adoption, and means Swift has become a more attractive tool for use in some projects.

(Particularly for those building solutions they hope to release across all Apple platforms in the years to come).

The move to replace Objective-C was mandated because the language has become somewhat outdates, Tiobe argues, pointing out that the transition has dented Apple’s overall language market share a little – though its share remains dwarfed in comparison to the larger languages.

Swift 6 hovers into view

The thing is, when looking at Apple it’s seldom a zero-sum game.

The company continues to develop across all of its products and services, and Swift really is no different. Swift 6 is already in development and this promises to be a far more capable tool for software development across multiple platforms.

Swift’s teams are also focusing on improving the developer experience, including development of new languages for machine learning, services and API development, a post of Swift.org has said.

The current iteration of Swift is Swift 5.2.

“We are likely to see a succession of Swift 5.x releases — each which will make progress on the frontiers outlined above — as we build up towards Swift 6. Each of those releases will be a major release in their own right,” the core Swift team explains.

In one recent move, Swift benefited from the introducing of Swift Crypto, new API’s that enable developers to make use of Apple CryptoKit in their apps. This should make it possible to build secure encryption within apps on supported platforms.

The bottom line?

Swift’s ascendancy means aspirant developers will be even more motivated to learn how to use the language, particularly as most small to mid-sized companies now write all their iOS apps using the language.

Sure, Objective-C remains in wide use at larger enterprises, but the direction of travel here quite clearly favors further adoption of Swift, which means those thousands of students worldwide engaging in Swift training sessions at Apple retail stores are making good use of their time.

In addition to which, given Apple’s continued ascendancy in the mobile enterprise, it suggests businesses may find it strategically appropriate to identify the most talented young Swift developers as they struggle to meet recruitment targets.

Please follow me on Twitter, or join me in the AppleHolic’s bar & grill and Apple Discussions groups on MeWe.

Copyright © 2020 IDG Communications, Inc.


Source link

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *