Wednesday, November 2, 2022

Apple’s Use of Swift and SwiftUI in iOS 16

Alexandre Colucci (tweet):

The number of binaries composing iOS continues to increase: iOS 16 contains 5403 binaries, up from 4738 in iOS 15. That’s 665 new binaries.


Without surprise, we can clearly confirm that some of the new iOS 16 features have been built using SwiftUI[…]


When performing this analysis, one number surprised me: iOS 16 only contains 4 apps using the SwiftUI-based app lifecycle[…]


Yet the Swift and SwiftUI adoption continues its exponential climb: iOS 16 contains 226 binaries using SwiftUI, which doubled the number from iOS 15. Likewise the number of binaries containing at least one line of Swift code increased consequently between iOS 15 and iOS 16[…]

Dave Verwer:

That said, Objective-C still dominates the iOS codebase, with it being a part of over 65% of all binaries, which should answer the question of how close Apple is to deprecating it.


It’s important to remember that going “all in” on SwiftUI isn’t necessary. Despite the famous message from this year’s keynote, the fastest and best way to write an iOS app today is with a mixture of technologies, and it appears that’s exactly what Apple is doing internally.

David Kopec:

It’s all about how you interpret data. You could read this as, “Wow, SwiftUI is doubling in number of binaries!” Or, you could read this as, “Wow, SwiftUI is growing the same as UIKit in absolute terms and will therefore never catch it.”


Comments RSS · Twitter

Leave a Comment