ios - 创建 ViewController 时,无法删除 "also create a xib"

标签 ios objective-c xcode

<分区>

enter image description here

上周,它运作良好。 .m 文件中没有类似“viewDidLoad”的内容。 我的 xCode 版本是 7.1.1。怎么了。

enter image description here

最佳答案

确保您选择了图像左侧的 iOS Source

enter image description here

关于ios - 创建 ViewController 时,无法删除 "also create a xib",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34305058/

相关文章:

iOS MQTT 重连后收不到消息

ios - stringWithFormat和initWithFormat在ARC中导致不同的值

ios - 核心数据 : How to display results of a fetchrequest for calculating values in a tableview cell

objective-c - 未调用 touchesShouldCancelInContentView

objective-c - Objective C ==> unichar[] 到 NSString?

c++ - 为什么 #include 在 .h 文件或 .cpp 文件中很重要?

swift - 如何在 Xcode 10.1 中渲染 DAE (COLLADA) 文件。目前正在崩溃

iphone - 我应该使用哪种文件格式将数组保存到文件中?

ios - tableview 连接到数据源和委托(delegate) - 如何

xcode - 在 Xamarin.Mac/XCode-Storyboard 中制作按钮时遇到问题