Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artemnovichkov/swift-project-template

🍪 Easily generate Swift projects with Cookiecutter
https://github.com/artemnovichkov/swift-project-template

generation ios swift template xcode

Last synced: 3 months ago
JSON representation

🍪 Easily generate Swift projects with Cookiecutter

Awesome Lists containing this project

README

        

# swift-project-template
[![Build Status](https://travis-ci.org/artemnovichkov/swift-project-template.svg?branch=master)](https://travis-ci.org/artemnovichkov/swift-project-template)

🍪 Cookiecutter template for Swift iOS projects.

![swift-project-template](.github/example.png)

## Features:
* Xcode 11 and Swift 5.0 support
* AppCode support
* Custom project structure (the same in the project and on the disk)
* Configurations and schemes:

![swift-project-template](.github/schemes.png)

* Custom scripts for [Carthage](https://github.com/Carthage/Carthage) and [SwiftLint](https://github.com/realm/SwiftLint)
* iOS Deployment Target - 12.0
* Optional integrations:
* [Firebase](https://firebase.google.com). Don't forget to add Google-Services.plist and related frameworks manually.
* [SwiftGen](https://github.com/SwiftGen/SwiftGen)
* [LicensePlist](https://github.com/mono0926/LicensePlist)
* 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](https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode)
* `.gitattributes` for correct repo language detection via [linguist](https://github.com/github/linguist)

## Usage
1. Install [Cookiecutter](https://github.com/audreyr/cookiecutter):

`brew install cookiecutter`
4. 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. Or just create an alias:
```bash
alias template="cookiecutter gh:artemnovichkov/swift-project-template"
```

## Author

Artem Novichkov, [email protected]

## License

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