polymerchm / xcode-ios-template

iOS project template: no storyboard, no scene delegate, no xcodeproj, no boilerplate, yes xcodegen, yes swiftformat, yes useful scripts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS Project Template

What's in this template?

  • No boilerplate besides AppDelegate.swift
  • No SceneDelegate
  • No Storyboard
  • No Xcodeproj
  • Mint for managing tooling dependencies
  • Xcodegen to generate the .xcodeproj
  • SwiftFormat to format the code
  • git-format-staged inside the Scripts/ folder to format only staged files

It also comes with a few useful scripts in Makefile

// Rename all "MyApp" instances to something else
make setup

// Bootstrap
make bootstrap 

// Generate .xcodeproj
make proj

// Format codebase
make format

// Format staged files
make format-staged

// Setup git-precommit hook that format staged files
make githooks

Getting Started

git clone https://github.com/alephao/xcode-ios-template.git
cd xcode-ios-template

make setup # Rename MyApp to your chosen project name
make bootstrap # Install dependencies
make proj # Generate xcodeproj

About

iOS project template: no storyboard, no scene delegate, no xcodeproj, no boilerplate, yes xcodegen, yes swiftformat, yes useful scripts.


Languages

Language:Python 90.8%Language:Makefile 5.3%Language:Swift 3.9%