Daniel Duan

Making An Open-Source Swift Project

This video shows what it takes to open source a Swift project. Starting from some code in a playground, I created a framework that supports distribution via Swift Package Manager, CocoaPods, Xcode project and Carthage. The framework can be used across iOS, macOS, watchOS, tvOS and Linux. In addition, we also added SwiftLint to the project, added a Makefile, put everything on GitHub and set up continuous integration via Travis. README, COC, LICENSE and CHANGELOG are stubbed in as well.

This is not at all a comprehensive list of things a good Open Source project should have. We are still missing the version tag, documentation generation, automatic Carthage binary generation, test coverage…

Anyways, here’s some stuff mentioned in the video: