编写一个切换view的小程序,运行时却显示如下错误信息。loaded the "BuleView" nib but the view outlet was not set.经检查,发现了错误原因:我创建的xib文件叫 BuleView.xib,出错的原因很简单,因为是后加的xib的文件,所以File's Owner 的默认类型是NSObject,而不是我创建的viewController类型(如果
Type qualifier used by Interface Builder to synchronize actions. Use this type as the return type of any action methods defined in your project. For examples of how to use this identifier, see De
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号