/FrameworkTemplate

A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file

Primary LanguageRubyMIT LicenseMIT

Framework Template

A template for new Framework project.

Platforms License

Swift Package Manager Carthage compatible CocoaPods compatible

Travis

Join the chat at https://gitter.im/JetpackSwift/FrameworkTemplate Twitter

Template

What's in the template?

  • Deployment Targets - iOS 8.0 / Mac OS X 10.10 / tvOS 9.0 / watchOS 2.0
  • Xcode 9.3
  • Swift 4.1
  • Dependency Managers - CocoaPods / Carthage / Swift Package Manager
  • Readme
  • Dangerfile / Gemfile / Jazzy
  • Github Templates (CODE_OF_CONDUCT, CONTRIBUTING, ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE)
  • TravisCI
  • MIT LICENSE
  • Testing Dependencies - Quick and Nimble

Usage

  1. Install carthage (brew install carthage on macOS).
  2. Install cookiecutter (brew install cookiecutter on macOS).
  3. Run cookiecutter https://github.com/RahulKatariya/FrameworkTemplate

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

Built With FrameworkTemplate

Credits

Some of the ideas and wording for the statements above were based on work by the Alamofire and ReactiveCocoa communities. We commend them for their efforts.

Contributing

Issues and pull requests are welcome!

Author

Rahul Katariya @rahulkatariya91

License

FrameworkTemplate is released under the MIT license. See LICENSE for details.