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

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.

主站蜘蛛池模板: 福清市| 开远市| 吉木萨尔县| 石台县| 许昌县| 鹤峰县| 巴青县| 邵阳县| 宜春市| 伊金霍洛旗| 澄迈县| 泗洪县| 平凉市| 聂拉木县| 广昌县| 台南县| 德保县| 靖宇县| 旬邑县| 嘉定区| 筠连县| 保定市| 双流县| 山西省| 民县| 三都| 黑山县| 安乡县| 宜州市| 武乡县| 榆社县| 敖汉旗| 山东省| 金坛市| 阿鲁科尔沁旗| 澄迈县| 宜丰县| 瑞昌市| 江阴市| 朝阳区| 望奎县|