博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Swift is Open Source 博客note
阅读量:5738 次
发布时间:2019-06-18

本文共 4417 字,大约阅读时间需要 14 分钟。

Swift is Open Source

Swift is Open Source

Swift is now open source. Today Apple launched the open source Swift community, as well as amazing new tools and resources including:

  • Swift.org – a site dedicated to the open source Swift community
  • Public source code repositories at
  • A new Swift package manager project for easily sharing and building code
  • A Swift-native core libraries project with higher-level functionality above the standard library
  • Platform support for all Apple platforms as well as Linux

Now anyone can download the code and in-development builds to see what the team is up to. More advanced developers interested in contributing to the project can file bugs, participate in the community, and contribute their own fixes and enhancements to make Swift even better. For production App Store development you should always use the stable releases of Swift included in Xcode, and this remains a requirement for app submission. (提交的时候,还是得按照Xcode里的swift版本)

Swift.org

Swift.org is an entirely new site dedicated to open source Swift. This site hosts resources for the community of developers that want to help evolve Swift, contribute fixes, and most importantly, interact with each other. Swift.org hosts:

  • A bug reporting and tracking system 八阿哥跟踪
  • Mailing lists 邮件列表
  • A blog dedicated to the engineering of Swift 博客
  • Community guidelines 社区规则
  • Getting started tutorials 新手教程
  • Contributing instructions 贡献指南
  • Documentation on Swift 文档
  • Developer and API design guidelines 开发指南

Swift.org is where the daily engineering work for Swift will take place, as the community of developers work together to bring Swift to new platforms, add new features, and continually evolve our favorite language.

Source Code

Apple has a new home on GitHub located at where you can find all the source code for the Swift project. The public repositories include the Swift compiler, LLDB debugger and REPL, the standard and core libraries, the package manager, and other supporting projects.

GitHub is already an incredibly popular place for developers to collaborate. It is easy to view the source code right on the website, or quickly check-out the code to your machine. And when you have a patch to contribute, we accept pull requests.

Swift Package Manager 包管理器

Today we also launched a brand new project: the Swift Package Manager. This early-stage project will be developed in the open from the outset. The repository is in a very early state, and together we will define what a great package manager should do and how we can make it intuitive to use, and give it the power it needs to scale across the many platforms where we expect Swift to prosper.

Core Libraries 核心库

Apple has long provided a rich collection of frameworks that provide higher-level functionality commonly required across a wide variety of software. Frameworks such as Foundation, libdispatch, and XCTest make it much easier to write complex programs, and we wanted to be sure that developers get those same benefits as they take their Swift skills to new platforms. Whether writing apps for iPhone or Mac, or building a new cloud service on Linux, the Swift core libraries will give you building blocks you can count on.

Platforms 跨平台

Open source Swift runs on a Mac, and is capable of building apps for OS X, iOS, watchOS, and tvOS. Swift.org also offers a Linux version of Swift, complete with a Linux toolset including package manager support, the LLDB debugger, and the REPL. (Linux版本包含了: 1)包管理器 2) LLDB 调试器 3)REPL ) We’re excited to see the community bring Swift to even more new places. As students and professionals learn to program in Swift, each new platform and use case opens new opportunities for them across the technology industry.

Getting Started 开始入手Swift吧

It is easy to get started. Swift.org hosts binary downloads of the compilers and command line tools for the Apple and Linux platforms so you can be up and running quickly.(官网仅仅包含了Apple和Linux平台编译器和命令行工具) The latest version of Xcode supports an alternate toolchain option specifically designed to make it simple to try out the latest open source builds of Swift from within Xcode. (最新版本的Xcode包含了可以切换到最新的Swift版本的工具.)And Swift.org has great getting started guides to walk you through the process of setting up your environment to work with open source Swift.

总结

  • swift.org是干什么的
  • 都开源了什么1) Swift compiler 2)LLDB debugger 3)REPL
  • 怎么入手: 下载最新的Xcode(version> 7.2)(包含了beta),里面包含了切换swift版本的工具.
undefined

转载地址:http://hmyzx.baihongyu.com/

你可能感兴趣的文章
让你快速上手的Glide4.x教程
查看>>
浮动和清除(闭合)浮动
查看>>
微信小程序注册流程
查看>>
LR录制脚本时IE打不开的原因
查看>>
微博自动化测试
查看>>
Sublime Text 2.0.2,Build 2221注册码
查看>>
js scroll事件
查看>>
最长递增子序列 动态规划
查看>>
原生CSS设置网站主题色—CSS变量赋值
查看>>
webpack 4.0 中 clean-webpack-plugin 的使用
查看>>
WPF
查看>>
中文词频统计
查看>>
POJ 2236 Wireless Network (并查集)
查看>>
python分类
查看>>
GitBlit (1)-- 在linux 安装 GitBlit 并运行
查看>>
Windows与Linux之间的文件自动同步
查看>>
topcoder srm 714 div1
查看>>
程序是如何执行的(一)a=a+1
查看>>
go : 结构
查看>>
18 已知下面的字符串是通过RANDOM随机数变量md5sum|cut-c 1-8截取后的结果
查看>>