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

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.

主站蜘蛛池模板: 大埔区| 岳普湖县| 莒南县| 延庆县| 大埔区| 都昌县| 安泽县| 永胜县| 大安市| 元谋县| 枣庄市| 谢通门县| 菏泽市| 厦门市| 岐山县| 吉水县| 沁阳市| 柘城县| 新巴尔虎左旗| 曲阳县| 黄大仙区| 云和县| 手游| 于都县| 江门市| 修水县| 广安市| 西和县| 天长市| 耿马| 从江县| 海兴县| 盐津县| 观塘区| 托克逊县| 荥经县| 钟祥市| 天长市| 安多县| 皮山县| 独山县|