Do refactor and add extension methods

This commit is contained in:
kubo_takaichi
2015-05-17 19:26:11 +09:00
parent 23d714f2f1
commit 5dfa753f5c
6 changed files with 44 additions and 9 deletions

View File

@@ -57,7 +57,7 @@ public class SwiftGenerator extends DefaultCodegen implements CodegenConfig {
sourceFolder = appName + "/" + sourceFolder;
supportingFiles.add(new SupportingFile("Cartfile.mustache", appName, "Cartfile"));
supportingFiles.add(new SupportingFile("Cartfile.mustache", "", "Cartfile"));
supportingFiles.add(new SupportingFile("APIHelper.mustache", sourceFolder, "APIHelper.swift"));
supportingFiles.add(new SupportingFile("AlamofireImplementations.mustache", sourceFolder, "AlamofireImplementations.swift"));
supportingFiles.add(new SupportingFile("Extensions.mustache", sourceFolder, "Extensions.swift"));