Skip to content

ngtk/xcode-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xcode-template GitHub version

👩‍💻xcode-template makes it easy to create a template and share with your project

Install

You can install using Homebrew.

$ brew install ngtk/tools/xcode-template

Or you can download from GitHub releases.

Usage

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 link

Development

Been 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:

  1. Bump version
    • $ goxc bump to bump version in .goxc.json
    • Bump app.Version in xctemplate/xctemplate.go
  2. Build and Release to GitHub
    • $ goxc
  3. Enable to download with Homebrew
    • Bump version in Homebrew formula
    • Change also sha256 to result of gsha256sum xctemplate_{VERSION}_darwin_386.zip

About

👩‍💻xcode-template makes it easy to create a template and share with your project

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages