Swift Singleton

Xcode File Templates for singleton class in Swift.


License
MIT

Documentation

Swift Singleton

A Xcode Template For Swift Singleton

install

If you are using Alcatraz, it will be able to use in there.

If you arn't using Alcatraz, just type the commands below in terminal.

  • git clone https://github.com/icylydia/SwiftSingleton.git
  • cd SwiftSingleton
  • ./install-templates.sh

uninstall

  • ./uninstall-templates.sh

Usage

  • When you create a new file, you can select Swift Singleton as follows. ScreenShot