什么是参考插座? [英] What is a referencing outlet?

查看:154
本文介绍了什么是参考插座?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将我的Xcode 3升级到Xcode 3.1,我注意到了一个新的接口生成器 - 引用插座。

解决方案

这些是设置为对象的出口问题。例如,如果选择一个作为窗口委托的对象,窗口的 delegate outlet将显示为对象的引用插座之一。如果它不是窗口的委托,你可以通过从新引用出口圈子拖动到窗口,然后单击窗口的委托插座。 / p>

这不是一种新的插座;它只是从对象出口的角度查看相同的出口,而不是拥有出口的对象的


I just recently upgraded my copy of Xcode 3 to Xcode 3.1, and I noticed something new in interface builder - the referencing outlet. Can anyone explain what referencing outlets are, and how they relate to mac development?

解决方案

These are outlets that are set to the object in question. For example, if you select an object that is a window's delegate, the window's delegate outlet will show as one of the object's referencing outlets. If it isn't the window's delegate, you can make it so by dragging from the "New Referencing Outlet" circle to the window, then clicking on the window's delegate outlet.

It's not a new kind of outlet; it's just viewing the same outlets from the perspective of the objects in the outlets instead of that of the objects owning the outlets.

这篇关于什么是参考插座?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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