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

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.

主站蜘蛛池模板: 枣庄市| 延吉市| 余江县| 米脂县| 兴义市| 宁化县| 台安县| 都匀市| 龙海市| 包头市| 岑巩县| 固阳县| 阳新县| 临汾市| 龙南县| 搜索| 华阴市| 修水县| 红河县| 宿松县| 大理市| 永清县| 卢氏县| 洱源县| 汉沽区| 修水县| 渑池县| 威远县| 阿坝县| 凉城县| 铁力市| 宁远县| 桂东县| 柳江县| 壤塘县| 会东县| 元江| 青冈县| 湘西| 深州市| 景泰县|