DEV Community

Condy
Condy

Posted on

Automatically generate componentized modules

PT

👌. Automatically generate componentized modules

  • 自动生成组件化模块
Pod lib create Demo swift --template-url='git@github.com:yangKJ/PT'
Enter fullscreen mode Exit fullscreen mode

Swift

  • cd 任意目录文件
  • 自动快捷创建Swift组件模块,终端执行如下命令

pod lib create Demo swift --template-url="https://github.com/yangKJ/PT"

  • 将上述Demo换成对应工程名即可 ⚠️

亦或者执行此命令也可 👒👒

pod lib create Demo swift --template-url='git@github.com:yangKJ/PT'


  • Tip: 该模块会引入默认MVVM + RxSwift响应式架构模块

关于该模块架构更多信息,请查看文档.🎷

WhaleFullDemo

If you find it helpful, please help me with a star. If you have any questions or needs, you can also issue.

Thanks.🎇

Contents

  • 自动生成组件化模块目录结构如下,该区域删除或者增加模块

About the author


LICENSE

LICENSE is available under the MIT license. See the LICENSE file for more info.

Top comments (0)