├── .gitignore ├── CodeGenerator.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── xcshareddata │ └── xcschemes │ ├── CodeGenerator.xcscheme │ └── Generate....xcscheme ├── CodeGenerator ├── AppDelegate.swift ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Base.lproj │ └── Main.storyboard ├── Info.plist └── ViewController.swift ├── CodeGeneratorTests ├── AccessLevelTests.swift ├── CodeGeneratorTests.swift ├── EquatableClazz.txt ├── EquatableGeneratorTests.swift ├── FuncMockTests.swift ├── FuncSignatureTests.swift ├── GeneratedEquals.txt ├── GeneratedHash.txt ├── GeneratedInit.txt ├── GeneratedNSCoder.txt ├── HashableGeneratorTest.swift ├── Info.plist ├── InitGeneratorTests.swift ├── InterfaceMockerTests.swift ├── InterfaceSignatureTests.swift ├── NSCodingGeneratorTest.swift ├── NSObject+file.swift ├── SwiftTypeTests.swift ├── VarSignatureTests.swift ├── funcMock.txt ├── interface1.txt └── interface1Mock.txt ├── Generate... ├── AccessLevel.swift ├── ClosureParamMocker.swift ├── ClosureType.swift ├── CodingGenerator.swift ├── EquatableGenerator.swift ├── FuncMocker.swift ├── FuncParam.swift ├── FuncSignature.swift ├── GenerateAfterVarCommand.swift ├── GenerateAsExtensionCommand.swift ├── GenerateCodingCommand.swift ├── GenerateEquatableCommand.swift ├── GenerateHashableCommand.swift ├── GenerateInitCommand.swift ├── GenerateMockCommand.swift ├── Generate___.entitlements ├── Generator.swift ├── HashableGenerator.swift ├── Info.plist ├── InitGenerator.swift ├── InterfaceDefinition.swift ├── InterfaceMocker.swift ├── InterfaceSignature.swift ├── ParamMocker.swift ├── ParamMockerFactory.swift ├── SelectableGeneratorCommand.swift ├── SourceEditorExtension.swift ├── SourceError.swift ├── String+regexr.swift ├── SwiftParamMocker.swift ├── SwiftType.swift ├── TypeParser.swift └── VarSignature.swift └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/.gitignore -------------------------------------------------------------------------------- /CodeGenerator.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /CodeGenerator.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /CodeGenerator.xcodeproj/xcshareddata/xcschemes/CodeGenerator.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator.xcodeproj/xcshareddata/xcschemes/CodeGenerator.xcscheme -------------------------------------------------------------------------------- /CodeGenerator.xcodeproj/xcshareddata/xcschemes/Generate....xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator.xcodeproj/xcshareddata/xcschemes/Generate....xcscheme -------------------------------------------------------------------------------- /CodeGenerator/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator/AppDelegate.swift -------------------------------------------------------------------------------- /CodeGenerator/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /CodeGenerator/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /CodeGenerator/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator/Info.plist -------------------------------------------------------------------------------- /CodeGenerator/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGenerator/ViewController.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/AccessLevelTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/AccessLevelTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/CodeGeneratorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/CodeGeneratorTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/EquatableClazz.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/EquatableClazz.txt -------------------------------------------------------------------------------- /CodeGeneratorTests/EquatableGeneratorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/EquatableGeneratorTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/FuncMockTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/FuncMockTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/FuncSignatureTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/FuncSignatureTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/GeneratedEquals.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/GeneratedEquals.txt -------------------------------------------------------------------------------- /CodeGeneratorTests/GeneratedHash.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/GeneratedHash.txt -------------------------------------------------------------------------------- /CodeGeneratorTests/GeneratedInit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/GeneratedInit.txt -------------------------------------------------------------------------------- /CodeGeneratorTests/GeneratedNSCoder.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/GeneratedNSCoder.txt -------------------------------------------------------------------------------- /CodeGeneratorTests/HashableGeneratorTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/HashableGeneratorTest.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/Info.plist -------------------------------------------------------------------------------- /CodeGeneratorTests/InitGeneratorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/InitGeneratorTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/InterfaceMockerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/InterfaceMockerTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/InterfaceSignatureTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/InterfaceSignatureTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/NSCodingGeneratorTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/NSCodingGeneratorTest.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/NSObject+file.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/NSObject+file.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/SwiftTypeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/SwiftTypeTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/VarSignatureTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/VarSignatureTests.swift -------------------------------------------------------------------------------- /CodeGeneratorTests/funcMock.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/funcMock.txt -------------------------------------------------------------------------------- /CodeGeneratorTests/interface1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/interface1.txt -------------------------------------------------------------------------------- /CodeGeneratorTests/interface1Mock.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/CodeGeneratorTests/interface1Mock.txt -------------------------------------------------------------------------------- /Generate.../AccessLevel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../AccessLevel.swift -------------------------------------------------------------------------------- /Generate.../ClosureParamMocker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../ClosureParamMocker.swift -------------------------------------------------------------------------------- /Generate.../ClosureType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../ClosureType.swift -------------------------------------------------------------------------------- /Generate.../CodingGenerator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../CodingGenerator.swift -------------------------------------------------------------------------------- /Generate.../EquatableGenerator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../EquatableGenerator.swift -------------------------------------------------------------------------------- /Generate.../FuncMocker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../FuncMocker.swift -------------------------------------------------------------------------------- /Generate.../FuncParam.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../FuncParam.swift -------------------------------------------------------------------------------- /Generate.../FuncSignature.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../FuncSignature.swift -------------------------------------------------------------------------------- /Generate.../GenerateAfterVarCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../GenerateAfterVarCommand.swift -------------------------------------------------------------------------------- /Generate.../GenerateAsExtensionCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../GenerateAsExtensionCommand.swift -------------------------------------------------------------------------------- /Generate.../GenerateCodingCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../GenerateCodingCommand.swift -------------------------------------------------------------------------------- /Generate.../GenerateEquatableCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../GenerateEquatableCommand.swift -------------------------------------------------------------------------------- /Generate.../GenerateHashableCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../GenerateHashableCommand.swift -------------------------------------------------------------------------------- /Generate.../GenerateInitCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../GenerateInitCommand.swift -------------------------------------------------------------------------------- /Generate.../GenerateMockCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../GenerateMockCommand.swift -------------------------------------------------------------------------------- /Generate.../Generate___.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../Generate___.entitlements -------------------------------------------------------------------------------- /Generate.../Generator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../Generator.swift -------------------------------------------------------------------------------- /Generate.../HashableGenerator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../HashableGenerator.swift -------------------------------------------------------------------------------- /Generate.../Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../Info.plist -------------------------------------------------------------------------------- /Generate.../InitGenerator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../InitGenerator.swift -------------------------------------------------------------------------------- /Generate.../InterfaceDefinition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../InterfaceDefinition.swift -------------------------------------------------------------------------------- /Generate.../InterfaceMocker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../InterfaceMocker.swift -------------------------------------------------------------------------------- /Generate.../InterfaceSignature.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../InterfaceSignature.swift -------------------------------------------------------------------------------- /Generate.../ParamMocker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../ParamMocker.swift -------------------------------------------------------------------------------- /Generate.../ParamMockerFactory.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../ParamMockerFactory.swift -------------------------------------------------------------------------------- /Generate.../SelectableGeneratorCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../SelectableGeneratorCommand.swift -------------------------------------------------------------------------------- /Generate.../SourceEditorExtension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../SourceEditorExtension.swift -------------------------------------------------------------------------------- /Generate.../SourceError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../SourceError.swift -------------------------------------------------------------------------------- /Generate.../String+regexr.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../String+regexr.swift -------------------------------------------------------------------------------- /Generate.../SwiftParamMocker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../SwiftParamMocker.swift -------------------------------------------------------------------------------- /Generate.../SwiftType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../SwiftType.swift -------------------------------------------------------------------------------- /Generate.../TypeParser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../TypeParser.swift -------------------------------------------------------------------------------- /Generate.../VarSignature.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/Generate.../VarSignature.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjiejacques/CodeGenerator/HEAD/README.md --------------------------------------------------------------------------------