khoogheem / SwiftXcodeFileTemplates

Xcode File Templates for Swift Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftXcodeFileTemplates

Xcode6 File Templates for Swift Code.

Installation

These can be added to your XCode by moving the Swift folder into ~Library/Developer/Xcode/Templates/File Templates/

Or get them from Alcatraz which is the most easy way.

To Use

In a XCode Project. File>New>File From there you should see an option for Swift, with the new templates

Current Templates

Singleton - A Singleton Class

Swit Type - Similar to the Objective-c File, which allows you to create a Protocol, Extension, Struct in swift

Swift XCTestCase - An XCTestCase subclass.

About

Xcode File Templates for Swift Code

License:MIT License


Languages

Language:Swift 100.0%