官术网_书友最值得收藏!

Open source

In December 2015, Apple announced that it would open source Swift; this opened up the possibility of writing applications in Swift on other platforms, especially Linux. Open sourcing Swift meant that anyone could take the Swift code base and build a Swift compiler and toolset on their host operating system (OS) where LLVM is supported. This is exactly what Apple did soon after Swift was open sourced by creating Swift toolset that worked on Ubuntu, a popular distribution of Linux. Apple kept its promise of truly open sourcing Swift by also porting its libraries and frameworks, including Foundation, which is used extensively in iOS and macOS platforms, and made them work on Ubuntu. Without these frameworks, it would be hard to build cross-platform applications in Swift that work on both Apple's OS and Linux with same feature parity since Foundation is the standard library that contains access to essential data types, collections, and operating system services to define the base layer of functionality for any application.

主站蜘蛛池模板: 光山县| 建瓯市| 密云县| 九寨沟县| 上思县| 镇平县| 海门市| 乌兰察布市| 祁东县| 定襄县| 隆回县| 富民县| 轮台县| 樟树市| 凤山县| 焉耆| 呈贡县| 休宁县| 洛扎县| 永济市| 大渡口区| 始兴县| 平乡县| 海安县| 泉州市| 中方县| 阿克苏市| 策勒县| 和田市| 卓尼县| 门头沟区| 确山县| 北碚区| 雷波县| 神木县| 江达县| 徐闻县| 凌云县| 仙居县| 通河县| 桦甸市|