alphatroya / swift-project-template

Introducing yet another iOS projects template - because who needs originality anyway?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS application template

Build project and run tests

This project template was used by me to jump-start new iOS app projects. It comes with a minimalistic design, a well-defined file structure, and several pre-configured tools to make the development experience more productive and efficient.

Features

Here are some of the key features of this project template:

  • A Minimalistic Design: The design of this project template is simple and clean, includes only required tools.
  • File Structure: The project template provides file structure, making it easy to organize your code and assets.
  • Source Code Linter and Formatter: The project template comes pre-configured SwiftFormat formatter and linter that help ensure your code follows best practices and is easy to read and understand.
  • Asset's Code Generation: The project template uses SwiftGen to generate code for assets, fonts, strings, and storyboards.
  • Fastlane: The project template includes an out-the-box Fastlane setup, allowing you to easily automate tasks such as building, testing, and deploying your app.
  • Git Hooks: Git hooks are installed during bootstrap.
  • Xcode Project File Generation: The project template includes a script that generates an Xcode project file, which avoid merge conflicts during teamwork.
  • No External Framework Dependencies: The project template does not rely on any external frameworks or libraries, making it easy to maintain and update.
  • Version Lock: A Mintfile provides tools version lock, ensuring that you always have the correct version of each tool.
  • .xcode-version support: A .xcode-version file created during project bootstrap and specifies the version of Xcode required to build the project.
  • .gitignore generation: This ensures that unnecessary files are not tracked by Git.

Getting Started

Prerequisites

Make sure that cookiecutter and mint tools are installed. Preferred way to make it is using homebrew.

brew install cookiecutter mint

Bootstrap a new project

cookiecutter gh:alphatroya/swift-project-template`

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Introducing yet another iOS projects template - because who needs originality anyway?

License:MIT License


Languages

Language:Makefile 34.2%Language:Ruby 32.4%Language:Swift 19.4%Language:Shell 14.0%