👩‍💻xcode-template makes it easy to create a template and share with your project
You can install using Homebrew.
$ brew install ngtk/tools/xcode-templateOr you can download from GitHub releases.
If you want to create a new template, You can do it with subcommand generate or g.
$ xctemplate g "UIViewController"If you want to use from Xcode "File Template Library". You can do it with subcommand link.
$ xctemplate linkBeen written in go, you can go get github.com/ngtk/xcode-template and change command by editing xctemplate.go.
If you want to release new version, You have to do below:
- Bump version
$ goxc bumpto bump version in.goxc.json- Bump
app.Versioninxctemplate/xctemplate.go
- Build and Release to GitHub
$ goxc
- Enable to download with Homebrew
- Bump version in Homebrew formula
- Change also
sha256to result ofgsha256sum xctemplate_{VERSION}_darwin_386.zip