Swift 5 and older iOS versions

In one of the WWDC presentations I heard that Swift 5 will probably bring ABI stability. So iOS 13 will probably be the first version to contain Swift, making it no longer necessary to add the Swift runtime to apps during compilation (reducing the binary size).

 

To quote the old Swift blog:

Because the library is embedded, your app uses a consistent version of Swift that runs on past, present, and future OS releases.

https://developer.apple.com/swift/blog/?id=2

 

I assume that if the app targets older iOS versions that Swift will still be embbed in the app?

 

We have a few business apps and most of the users are still using iPad 2s and iPad 3s. We would like to keep using Swift as the language evolves. I’m just a bit worried that Apple is going to force users to use newer versions of iOS to use new Swift features.

Powered by WPeMatico

About

You may also like...

Comments are closed.