cmd+shift+i 不起作用

发布于 2025-01-08 13:44:58 字数 115 浏览 7 评论 0原文

我正在遵循一个指南,其中显示按 cmd+shift+i 来更改界面生成器中的对象属性。 但是按下这个快捷键只会让 xcode 构建项目。 所以我无法更改对象属性(如按钮或标签)。 如何使用 xcode4 做到这一点?

I am following a guide where it says to press cmd+shift+i to change an object proprieties in interface builder.
But pressing this shortcut it just has the effect to make xcode build the project.
So I can't change an object proprieties (like a pushbutton or label).
How to do this with xcode4 ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

素衣风尘叹 2025-01-15 13:44:58

转到 Xcode ->首选项->键绑定
您将在 Xcode 中看到所有热键,并且可以根据需要设置自己的热键。

要更改 IB 中对象的属性,请打开“实用程序”面板(使用 alt+cmd+0 热键或按 Xcode 右上角的按钮)在此处输入图像描述

然后选择 Attributes/Size Inspector 或其他一个,这取决于您需要更改的属性

Go to Xcode -> Preferences -> Key Bindings
You'll see all hotkeys in your Xcode and you'll be able to set your own if you want.

To change properties of object in IB open Utilities panel (use alt+cmd+0 hotkey or press a button in top-right corner of Xcode) enter image description here

Then choose Attributes/Size Inspector or another one, it depends on properties you need to change

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文