[英]How to create a UIViewController subclass with .xib in swift?
For some reason Xcode 7 has started defaulting to the OS X controls when I ask for a new file... 由于某些原因,当我请求新文件时,Xcode 7已经开始默认使用OS X控件...
If you select this option and hit next then you cannot create a xib... 如果选择此选项并单击下一步,则无法创建xib ...
However, if you change to use the iOS files instead... 但是,如果您改为使用iOS文件...
You then have the option to create a xib with your view controller... 然后,您可以选择使用视图控制器创建xib。
Hope that helps. 希望能有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.