Skip to content
项目

关于

《Swift 编程语言》一书。

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+5
1个月
+8

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

The Swift Programming Language

This repository contains the source for The Swift Programming Language (sometimes abbreviated as TSPL), which is published on docs.swift.org and built using Swift-DocC.

Contributing

For small changes, like typo fixes and changes to a few paragraphs, fork this repository and make a pull request.

A formal contribution process for this document is still in development. In the meantime, start a pitch thread in the Swift forums for larger changes to discuss your approach and identify possible issues before you invest a lot of time in writing.

Content in this book follows Apple Style Guide and this book’s style guide.

File bugs about the content using the issues page on Github.

Discussions and contributions follow the Swift Code of Conduct.

For more information, see Contributing to The Swift Programming Language.

Building

Run docc preview TSPL.docc in this repository's root directory.

After running DocC, open the link that docc outputs to display a local preview in your browser.

Note:

If you installed DocC by downloading a toolchain from Swift.org, docc is located in usr/bin/, relative to the installation path of the toolchain. Make sure your shell's PATH environment variable includes that directory.

If you installed DocC by downloading Xcode, run xcrun docc preview TSPL.docc instead.

探索相关项目

加载中…