摘要: Unsupported Configuration: “View Controller” is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard in 阅读全文
posted @ 2017-07-26 18:53 一人前行 阅读(2379) 评论(0) 推荐(0) 编辑
摘要: iOS 警告提示如下: 添加 @dynamic告诉编译器这个属性是动态的,动态的意思是等你编译的时候就知道了它只在本类合成; 如下: 阅读全文
posted @ 2017-07-26 18:07 一人前行 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: 在xcode编译的时候,提示了code will never be executed这个警告。百度了一下,大体的意思是,该代码永远不会执行的意思。 比如: 因为有return,所以,if里面的永远都走不到。 参考文档:https://stackoverflow.com/questions/30359 阅读全文
posted @ 2017-07-26 17:48 一人前行 阅读(7777) 评论(0) 推荐(0) 编辑
摘要: 如果你的工程最低支持版本为7.0 你会发现有警告 : 'currentInputMode' is deprecated: first deprecated in iOS 7.0 替换方案:UITextInputMode *currentInputMode = [notification object 阅读全文
posted @ 2017-07-26 17:33 一人前行 阅读(1303) 评论(0) 推荐(0) 编辑
摘要: 在编译程序的时候,Xcode给出了警告:warning: no rule to process file *** 类似的警告, 解决方法: 在【build Phases】 -> [Compile Source] 里面删除该文件即可。 阅读全文
posted @ 2017-07-26 15:51 一人前行 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 该警告提示信息,是说,设置了代理对象,但是并没有继承它的代理。下图中,可以看出,警告信息提示我们没有继承“CALayerDelegate”的代理。 解决方法,很简单,(在 @interface 文件中继承它的代理即可)如下: 重新编译一下就可以了。 阅读全文
posted @ 2017-07-26 15:14 一人前行 阅读(5165) 评论(0) 推荐(0) 编辑