project-template-swift

To Set Up

run scripts/.project-setup.sh

Branch Naming Rule

issueNumber-work-you've-done
ex) 14-add-auth-feature

What It Does

  1. Linking .swiftLint.yml
  2. Reassigning Git Hooks
  3. Add Useful Code Snippets to Xcode

Git Hooks Contain

  1. pre-commit
  • Protect main branch from commits.

Screen Shot 2021-04-13 at 7 59 29 PM

  • Enfoce SwiftLint for commiting files.

Screen Shot 2021-04-13 at 8 16 03 PM

  1. prepare-commit-msg
  • Add [#issue-number-of-branch] in front of every commit msg.
    *** your branch name should be like 'issueNum-work-you've-done'

Screen Shot 2021-04-13 at 8 20 16 PM

Useful Code Snippets

  • Preview for UIKit ViewController

Screen Shot 2021-04-13 at 8 27 09 PM