Skip to content

seanhenry/Xcode-File-Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Manual

Copy the Swift folder this directory: ~/Library/Developer/Xcode/Templates/File Templates/

Git

$ cd ~/Library/Developer/Xcode/Templates/File\ Templates/ $ git clone https://github.com/seanhenry/Xcode-File-Templates.git

Swift Templates

Contains a Swift template for classes, structs, enums, extensions and protocols.

Swift Type Template

Unit Testing Templates

Swift Unit Test Class

Asks for the class you wish to test.

Swift Unit Test Template Window

Builds a template test class including the @testable import for your module.

Swift Unit Test Template

Swift Mock Class

Asks for the class you wish to mock.

Swift Mock Template Window

Builds a subclass for you to stub and a mock class inheriting from the stub.

Swift Mock Template

About

Swift templates to help for writing tests and mocks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published