ios - 如何让 Xcode 识别自定义模板

标签 ios xcode viper-architecture

我一直在使用 Generamba为 iOS 的 VIPER 架构下的每个模块创建模板文件。

它节省了很多时间,但仍然需要通过终端命令来运行 Generamba 并创建文件。有没有人知道如何将直接生成的模板嵌入到 XCode 8 中?

最佳答案

您可以使用 templates inside Xcode生成你的 VIPER 类。看看这个repository ,它已经为您实现了基本的 VIPER 文件。

希望对您有所帮助。

关于ios - 如何让 Xcode 识别自定义模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40448527/

相关文章:

ios - EXC_CRASH (SIGABRT) UIPopoverPresentationController presentationTransitionWillBegin

ios - 当我在 iOS Swift 3 中手动将文本分配给 UITextField 时,会调用哪个委托(delegate)方法

python - RNCryptor 和 Python 服务器

ios - 作为 RESTful 客户端,您更喜欢什么 - RestKit 与 Resty

objective-c - 替换、移动 NSMutableArray 中的对象

ios - VIPER 中 UITableView 数据源的 ViewModel,swift

ios - 如何在 swifty_viper 实现中使用 ModuleConfiguration 和 ModuleInitializer

ios - 自定义 TableView 单元格未配置

iphone - 使用标签栏 Controller 将登录 View 添加到应用程序

Xcode/Interface Builder 崩溃