Coder Social home page Coder Social logo

changworkenam's Introduction

DummyCode 垃圾代码生成器

本项目综合了github上另外两个垃圾代码生成器代码,感谢klaus01/KLGenerateSpamCodeleeeGreat/LWRubbishTool

使用步骤

  1. 打开项目后,找到 ViewController中- (IBAction)run:(id)sender 方法,这里有你需要的全部配置。

  • basePath 项目的根目录
  • gSourceCodeDir 同 basePath
  • 前5个BOOL型参数,决定是否开启该项功能
  • oldProjectName,newProjectName 新旧工程名称
  • projectFilePath xcodeproj文件路径
  • oldClassNamePrefix,newClassNamePrefix 新旧类名前缀
  • outDirString 垃圾代码生成路径(最好提前创建好改路径,建议不要放在自己的项目路径里,可以放在桌面,否则如果重复运行此程序,生成的垃圾代码也会被认为是源码,从而垃圾代码数量成倍增加)
  • gOutParameterName 第一次生成垃圾文件,生成的垃圾代码文件名称会加上该后缀(源自klaus01/KLGenerateSpamCode
  • classSecondNameArray 第二次生成垃圾文件,生成的垃圾代码文件名称会与该数组两两组合,生成新的垃圾文件(源自leeeGreat/LWRubbishTool
  • ignoreDirNames 忽略的文件夹列表
  1. 项目中Template文件夹中的几个txt文件是第二次生成垃圾文件的模板,可以按照自己的喜好修改。

changworkenam's People

Contributors

huxiaoxin avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.