遇到问题①:
错误现象: XCODE 6.1.1 在使用storyboard时,报错:Failed to instantiate the default view controller for UIMainStoryboardFile 'MainStoryboard' - perhaps the designated entry point is not set?
原因分析:在StoryBoard中没有一个view controller设置了Initial Scene。
解决方案:在Storyboard中,选择一个view conroller作为story board的第一启动界面
遇到问题②:
错误现象: XCODE 6.1.1 在使用storyboard时,报错:setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key abc.
原因分析:在一个button按钮上出现了不合理的线(按钮所连接的属性或者方法被删除)。
解决方案:按住control右击button按钮,删除referencing outlets里面的abc
另一些:
OC语法规定:不允许直接修改 某对象中的结构体属性成员
例如: