在Xcode4中,新的界面构建器表示“无选择”。 [英] In Xcode4, the new interface builder says "no selection"

查看:80
本文介绍了在Xcode4中,新的界面构建器表示“无选择”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用xcode 4.02进行iPhone编程。在新界面构建器中,当我单击一个按钮(或任何其他GUI元素)并转到属性检查器时,它会显示无选择。有一段时间我认为我可以通过保存nib文件来解决问题,但它并不总是有效。

I am using the xcode 4.02 for iPhone programming. In the new interface builder, when I click a button (or any other GUI-element) and go to the "attributes inspector" it says "no selection". For a while I thought I could solve the problem by saving the nib-file, but it does not always work.

如何解决这个问题?

推荐答案

在Xcode 4中的属性检查器中似乎有一个错误。当我遇到这种情况时,我通常会这样做:

There seems to be a bug in Attributes Inspector in Xcode 4. When this happens to me I usually do this:


  • 切换到当前标签中的另一个(非IB)文件

  • 启动新标签(cmd T)

  • 在此新标签页中打开原始IB文件

属性检查器将在新标签中神奇地显示。

The Attributes Inspector will magically show in the new tab.

这篇关于在Xcode4中,新的界面构建器表示“无选择”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆