Skip to content

牛逼、好用、高大上的自定义私有组件库模板。去流程化,目录重构,podspec个性化,podfile基础依赖。

License

Notifications You must be signed in to change notification settings

xiayuanquan/pod-template

Repository files navigation

Introduce

English:

The pod-template officially provided is too cumbersome. I keep asking for answers to the input questions, and I don’t like the created directory. In order to improve the efficiency of component-based development, I modified the official scripts and source code to easily create Objective projects and Swift projects. The creation method remains the same. You only need to add a parameter and template URL.

中文:

官方提供的pod-template,流程太繁琐了,不停的询问输入问题的答案,而且创建的目录,本人很不喜欢。为了提高组件化开发效率,我修改了官方的脚本和源码,很方便的创建Objective项目和Swift项目,创建方式不变,只需要添加一个参数和修改template URL即可。

Useage

English:

  1. First enter any of your own directories.

  2. Create OC private components in this directory: pod lib create ProjectName Objc --template-url="https://github.com/xiayuanquan/pod-template"

  3. Create Swift private components in this directory: pod lib create ProjectName Swift --template-url="https://github.com/xiayuanquan/pod-template"

  4. Objc and Swift are not case sensitive.

中文:

  1. 首先进入到自己的任意一个目录。

  2. 在该目录创建OC私有组件:pod lib create ProjectName Objc --template-url="https://github.com/xiayuanquan/pod-template"

  3. 在该目录创建Swift私有组件:pod lib create ProjectName Swift --template-url="https://github.com/xiayuanquan/pod-template"

  4. Objc 和 Swift 不用区分大小写。

Screenshot

OC

Swift

About

牛逼、好用、高大上的自定义私有组件库模板。去流程化,目录重构,podspec个性化,podfile基础依赖。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published