The first open-source Swift book, viewed and editable by everyone!
Head over to this link to read the book in a format that best fits your device.
You can view the table of contents for The Swift Book by clicking here.
To create an open-source book, about Swift!
Swift is an ever changing language and to be able to stay on top of these changes, we need a new way of writing content. One author cannot keep a whole book always up to date with new Swift content, so why not leverage the power of GitHub and write it together?
GitHub already gives us many of the tools that we need:
- Ability to write rich text, in Markdown
- The ability for readers to raise issues through the built-in issue tracking system
- Pull requests, allowing contributors provide new/updated content
- Releases, which will allow us to release official updates of this book, every now and then
- The distributed nature of Git, that allows contributors to write and update content, wherever they are and whenever they wish
This book is entirely made out of Markdown files (MD) and PNG images for figures. There are code snippets as well which will be inside the text itself.
Follow these steps in order to send your content to The Swift Book:
- Fork this repository
- Work on your fork, and add your new content/changes
- Send a pull request for review