An analysis shows that Apple’s own use of Swift has doubled in iOS 13 as it further distances itself from Objective-C.
First introduced by Apple in 2014, Swift is now the main programming language for development across Cupertino’s platforms. Adoption of Swift by third-party developers is high, but much of Apple’s operating system still uses Objective-C.
Of course, much of Apple’s reason to continue using Objective-C code within its operating systems is that it’s legacy code which is still functional. As the old adage goes: “If it ain’t broke, don’t fix it”.
That doesn’t mean Apple’s use of Swift isn’t increasing. Developer Alexandre Colucci has been keeping tabs on Apple’s use of Swift in its operating systems since iOS 9 and has produced some interesting findings.
When Colucci began tracking Swift usage there was just a single binary in iOS 9 using it. In iOS 13, that number has increased to a whopping 141 binaries. Furthermore, if there was any doubt around Apple’s commitment to Swift, the number of binaries using it has more than doubled since iOS 12.
As you might imagine, Swift is primarily being used in new additions to iOS in addition to updates to existing apps such as Sidecar, Reminders, Health, Books, Find My, and Shortcuts.
Some system-level services in iOS 13 are also using Swift including the one to support the new offline capabilities of Find My and the daemon responsible for pairing devices like HomePod and AirPods.
Interested in hearing industry leaders discuss subjects like this and sharing their use-cases? Attend the co-located 5G Expo, IoT Tech Expo, Blockchain Expo, AI & Big Data Expo, and Cyber Security & Cloud Expo World Series with upcoming events in Silicon Valley, London, and Amsterdam.