Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does iOS7 understands Swift Code? Is there any Swift support by OS?

Here is my short assumption on that currently looking more on it.

Application with Swift code bundles Swift specific standard libs with Swift, Apple has changed how standard libraries are shipped. With Objective-C, all of the standard libraries, system frameworks, and the runtime itself, were shipped with the OS. But With Swift, Apple trying to ship a specific version of the standard library with your app.

Please share your thought on that.

like image 829
Buntylm Avatar asked Dec 15 '25 19:12

Buntylm


1 Answers

Found Interesting - Compatibility Blog

According to that - In fact, you can target back to OS X Mavericks or iOS 7 with that same app. This is possible because Xcode embeds a small Swift runtime library within your app’s bundle. Because the library is embedded, your app uses a consistent version of Swift that runs on past, present, and future OS releases.

Any other discussion warm welcome!

like image 179
Buntylm Avatar answered Dec 17 '25 09:12

Buntylm



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!