Swift Book PDF: The Swift Programming Language is back on Apple Books — plus PDF and EPUB archives
I wrote Swift Book PDF, a Python package to convert the DocC source for The Swift Programming Language book into polished PDF and EPUB editions.
PDF editions follow the familiar DocC rendering style used on docs.swift.org. EPUB editions follow the design of the Swift Book editions previously published on Apple Books through Swift 5.7. Both include formatting improvements while staying true to the original styles.
Get the book
- The Swift Programming Series is available on Apple Books, with optimized editions of The Swift Programming Language from Swift 5.8 onward.
- Download PDF and EPUB editions across Swift releases from the Swift Book Archive.
- Create your own customized edition of The Swift Programming Language with swift-book-pdf, with support for custom fonts, font sizes, and rendering styles.
Both swift-book-pdf and swift-book-archive repositories are available on GitHub and licensed under Apache License v2.0. swift-book-pdf requires Python 3.10+, and LuaTeX for creating PDF versions.
This project is not published by, endorsed by, or affiliated with Apple Inc. or the Swift.org open source project. See the Acknowledgments chapter in each edition for more details.
Feedback, issues, and ideas for improving the CLI and generated editions are welcome!
Happy reading! ![]()




