Fork me on GitHub

Swift.org Blog(英文)

Welcome to the blog on Swift.org! Today we launched the open source Swift project along with the Swift.org website. We couldn’t be more excited to work together in an open community to find and fix issues, add enhancements, and bring Swift to new platforms.

This blog is where the engineers working on Swift will make announcements and highlight important community topics.

Projects

Swift is made up of a number of different projects, providing a complete ecosystem for building great software. The Swift compiler project interprets Swift syntax, produces diagnostics to help you write correct code, and employs LLVM to generate machine instructions. The LLDB project is a first-class debugger that includes a REPL for interactive programming. And the Swift standard library project includes all the core types and basic functionality you need to write software in Swift.

Today, we released two additional projects for Swift in open source: the Core Libraries project, and a new Swift Package Manager project.

Swift Package Manager

The Swift Package Manager is a brand new project that strives to create a powerful, user-friendly tool to build and share Swift code. We are focused on ensuring the package manager is great at sharing source code, rather than compiled binary libraries. This project is very early in development, and will be designed and developed using Swift’s open, collaborative process.

You can find example package repositories at the Apple home on GitHub, as well as the source code and additional information for the package manager itself.

Core Libraries

The Swift Core Libraries project is a higher-level set of APIs, above the Swift standard library. These libraries offer functionality such as localization, networking primitives, unit testing, user preferences, and more. These libraries also introduce coding conventions that will be useful as you write more Swift code, and create new packages.

The core libraries are based on frameworks included in Apple platforms, namely Foundation, libdispatch, and XCTest. The Swift open source versions of these frameworks are intended to make it easy to use the same Swift code with consistent functionality across multiple platforms.

Swift.org Website

This website is the home of the Swift project with links to the resources you will need to participate in the community. We invite you to click around the navigation area to explore the site, but we wanted to call out a few key links here in our inaugural post:

Welcome to the open source Swift community.

– The Swift Team