xcode 无法在界面构建器中打开库窗口

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4436289/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:00:50  来源:igfitidea点击:

Can't open library window in interface builder

xcodeinterface-builder

提问by user541521

I am using a MacBook Pro installed with Xcode 3.2.5 and iOS SDK 4.2. When I launch Interface Builder by clicking the nib file, then I do not see any library window. Anyone has idea on why it is behaving so?

我使用的是装有 Xcode 3.2.5 和 iOS SDK 4.2 的 MacBook Pro。当我通过单击 nib 文件启动 Interface Builder 时,我看不到任何库窗口。任何人都知道它为什么会这样?

Thanks!

谢谢!

回答by zhuang

Xcode 4.1 view -> utilities -> show object library

Xcode 4.1 视图 -> 实用程序 -> 显示对象库

回答by Matthew Frederick

If you choose Libraryfrom the Toolsmenu, or if you press ⇧⌘L, does it not appear?

如果从“工具”菜单中选择“” ,或者按 ⇧⌘L,它不出现吗?

回答by Julius

I had same problem just after updating to XCode 3.2.6 (IB is currently 3.2.6 also). My machine is configured to work with two display screens but I don't always turn the smaller one on. I found the library to be present on the second screen. How it got there I have no idea. Try switching to a higher display resolution to see if a similar thing happened in your case.

更新到 XCode 3.2.6 后我遇到了同样的问题(IB 目前也是 3.2.6)。我的机器配置为使用两个显示屏,但我并不总是打开较小的一个。我发现图书馆出现在第二个屏幕上。我不知道它是如何到达那里的。尝试切换到更高的显示分辨率,看看您的情况是否发生了类似的事情。

回答by chepukha

I think the problem is there is no Interface Builder plugin for XCode 4. You probably cannot edit nib file in XCode 4.

我认为问题在于 XCode 4 没有 Interface Builder 插件。您可能无法在 XCode 4 中编辑 nib 文件。

回答by Piyush

In the Xcode menu, choose View > Utilities > Size Inspector.

在 Xcode 菜单中,选择 View > Utilities > Size Inspector。

Make sure the Object library is visible in the pane below the Size inspector. If not, choose View > Utilities > Object Library.

确保对象库在大小检查器下方的窗格中可见。如果没有,请选择“视图”>“实用程序”>“对象库”。

回答by lance

Sometimes my interface builder screen doesn't show up, and I check my sytem resources and kill off some processes. Apparently, 600 or 700 MB of memory left isn't enough for XB to launch

有时我的界面构建器屏幕不显示,我检查我的系统资源并终止一些进程。显然,剩下的 600 或 700 MB 内存不足以启动 XB

回答by Ruturaj Jape

it works using ??L in xcode 3.2.6

它在 xcode 3.2.6 中使用 ??L 有效