/swift-project-template

🍪 Easily generate Swift projects with Cookiecutter

Primary LanguageSwiftMIT LicenseMIT

swift-project-template

Cookiecutter template for an Swift iOS project.

swift-project-template

Usage

  1. Install Cookiecutter and Carthage:

    brew install cookiecutter carthage

    We use Carthage as dependency manager by default.

  2. Run cookiecutter gh:artemnovichkov/swift-project-template. No need to create project folder manually, cookiecutter does it for you.

For future runs you can shorten the command to cookiecutter swift-project-template. However, if you want to use the most recent template you should still run the full command above.

Features:

  • Xcode 9.0
  • AppCode support (checked in 2017.2 version)
  • Swift 4.0
  • Custom project structure (the same in the project and on the disk)
  • Custom scripts for Carthage and SwiftLint
  • iOS Deployment Target - 9.0
  • Template for Github pull requests
  • Settings.bundle with app version
  • Disabled automatic code signing (sorry, Apple 🤷‍♂️)
  • -Xfrontend -debug-time-function-bodies flags for profiling compilation times
  • .gitattributes for linguist

Author

Artem Novichkov, novichkoff93@gmail.com

License

swift-project-template is available under the MIT license. See the LICENSE file for more info.