“还创建XIB文件";按钮已禁用 [英] "Also create xib file" button disabled

查看:133
本文介绍了“还创建XIB文件";按钮已禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在创建UIView's子类时遇到此问题.例如,创建UIViewControllersUITableViewCells是可以的.

为什么会这样?

我使用cmd+N和Xcode版本7.3.1创建视图:

解决方案

您可以添加自定义Xcode模板来解决此问题,也可以添加现有模板.在此处中了解更多如何创建和添加到Xcode的信息... >

可以在此处找到模板.

I have this problem with creating UIView's subclasses. Creating, for example, UIViewControllers or UITableViewCells is okay.

Why this happens?

I create view using cmd+N and Xcode Version 7.3.1:

解决方案

You can add custom Xcode template that will fix this issue or add an existing template. Read more how to create and add it to Xcode here.

Template can be found here.

这篇关于“还创建XIB文件";按钮已禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆