31

GitHub - artemnovichkov/swift-project-template: ? Easily generate Swift projects...

 5 years ago
source link: https://github.com/artemnovichkov/swift-project-template
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

swift-project-template

Build Status

? Cookiecutter template for Swift iOS projects.

swift-project-template

Features:

  • Xcode 9.3+ and Swift 4.1+ support
  • AppCode support (checked in 2017.2 version)
  • Custom project structure (the same in the project and on the disk)
  • Configurations and schemes:

swift-project-template

  • Custom scripts for Carthage and SwiftLint
  • iOS Deployment Target - 9.0
  • Optional Fabric integration. Don't forget to add API Key and Build Secret manually from Settings
  • Optional SwiftGen integration
  • 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 correct repo language detection via linguist

Usage

  1. Install Cookiecutter and Carthage:

    brew install cookiecutter carthage

    Carthage is used 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.

Author

Artem Novichkov, [email protected]

License

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK