Skip to content

schneiderandre/Xcode-File-Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Xcode File Templates There is currently just the Expecta file template, maybe some other templats will follow. ##Using the Templates Simply paste the templates to ~/Library/Developer/Xcode/Templates/File Templates/ or use the included scripts to add/remove a specific template.

##Templates ###Expecta file template

If you want to test the class Foo, just use the Expecta template, enter the classname and it will generate a new class called FooSpec with a simple layout and all necessary imports.

The generated class looks like this:

//
//  FooSpec.m
//  ASCProject
//
//  Created by André Schneider on 07.03.14.
//  Copyright (c) 2014 André Schneider. All rights reserved.
//

#import <Specta/Specta.h>
#define EXP_SHORTHAND
#import <Expecta/Expecta.h>
#import "Foo.h"

SpecBegin(Foo)

SpecEnd

About

Currently there is only an Expecta file template.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published