“集体诉讼”在哪里?在“对象标识”中; Interface Builder 中的面板?

发布于 2024-08-18 13:32:59 字数 383 浏览 3 评论 0原文

我以为我在 iPhone 开发方面相当有经验,但我在 第一个视频

(38 分钟)

教师将一个 NSObject 拖到 MainWindow.xib 中。当他在 Identity Inspector (Cmd-4) 中检查对象时,会看到 Class Actions 和 Class Outlets 部分。

然而,这些并没有出现在我身上,只是类标识和接口生成器标识......它们去了哪里?

I thought I was fairly experienced at iPhone development, but I'm tripping up on the Stanford iPhone course on the very first video.

(38 mins in)

The teacher, drags an NSObject into the MainWindow.xib. And when he inspects the Object in the Identity Inspector (Cmd-4), there are Class Actions and Class Outlets sections.

However, these don't appear for me, just Class Identity and Interface Builder Identity... Where have they gone?

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

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

发布评论

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

评论(3

入画浅相思 2024-08-25 13:32:59

Interface Builder 最近经历了一些变化。转到库面板中的类,从上半部分选择您想要检查的对象,屏幕的下半部分有 Lineage、Definitions、Outlet 和 Actions 选项卡。

Interface Builder has gone through some changes recently. Go to classes in the library panel, select the object from the top half you wish to inspect and the lower half of the screen has tabs for Lineage, Definitions, Outlets and Actions.

饭团 2024-08-25 13:32:59

在库面板中找到分段按钮,单击类。找到 NSObject 或您想要子类化的任何其他类。右键单击“新子类...”,在弹出窗口中将其命名为有用的名称,例如控制器/AppController。在班级列表中找到您新命名的班级。现在将所有操作/出口添加到库面板的底部。
感谢卷积,我永远不会找到这个。 (只是想我会扩展上面的提示)。

In the library panel find the Segmented-Button, Click on classes. Find NSObject or any other class you would like to subclass. Right click and "New subclass...", Name it something useful in the pop up like controller/AppController. Find your newly named Class in the class list. Now add all your actions/outlets in the Bottom of the library panel.
Thanks to Convolution I would never have found this. (Just thought I'd expand on the above tip).

淑女气质 2024-08-25 13:32:59

我终于和你一样解决了我的问题。之前,我使用过较早版本的IB,即3.1。我可以访问“工具”->“类操作和类出口部分”身份检查面板。但是当我选择另一台macbook(IB升级到3.2.1版本)后,我必须访问相应的部分Library面板->Classes选项卡->选择指定的对象,然后转到面板的下部(如图所示)卷积)。

I finally solve my issue as the same as you. Before , I used a earlier version of IB, that's 3.1. And I can access "Class Actions and Class Outlets sections" on Tools-> Identity Inspector Panel. But after I choose another macbook (which IB is upgraded to version 3.2.1), I must access the corresponding section Library panel->Classes Tab->choose the specified object, then go to the panel's lower part(as illustrated by Convolution).

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