Friday, October 20, 2023

Apple’s Use of Swift and SwiftUI in iOS 17

Alexandre Colucci (Hacker News):

Unsurprisingly, there has been a significant increase in the number of apps adopting SwiftUI this year. Notable mentions include:

  • The Preferences app with several of its bundles (StorageSettingsUI, WallpaperSettings, MultitaskingAndGesturesSettings, ThirdPartyApplicationSettings, ActionButtonSettings, …)
  • Several binaries related to Health (Health.app, HealthUI, MentalHealthUI, WorkoutUI, …)
  • The Home app, which appears to have undergone some major changes (Home.app, HomeEnergyUI, HomeUICommon, HomeDataModel, HomeAccessoryControlUI, …)
  • The support for the new Action button (ActionButtonSettings, ActionButtonConfigurationUI, …)
  • Additionally, several other important apps, such as Calendar and Reminders, are now using SwiftUI

In iOS 16, only 4 apps used the SwiftUI-based app lifecycle. In iOS 17, this figure has grown to 14 apps[…]

[…]

In the upcoming years, it will be interesting to observe whether Swift begins to spread into low-level firmware, such as the Secure Enclave. Currently, Swift is absent from the Secure Enclave in iOS, although macOS does incorporate it.

Previously:

1 Comment RSS · Twitter · Mastodon

Come on Apple, more dogfooding.
When will SwiftUI enhance serious apps? Like Final Cut Pro and Xcode, rather than mostly settings?
The gotchas I have come across recently are just silly.
If you plan to to build your own engine in Metal and integrate it in SwiftUI, don’t, unless you want to put up with serious frame drops when using continuous SwiftUI Views.
And the workarounds I had to construct around this issue are even more crazy.

Leave a Comment