Xcode 4 - 连接插座 [英] Xcode 4 - Connecting Outlets

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

问题描述

此页面显示了我可以多么轻松地连接网点 http://developer.apple.com/technologies/tools/whats-new.html 在 Xcode 4 中,但我无法得到它.

This page shows how easily I can connect outlets http://developer.apple.com/technologies/tools/whats-new.html in Xcode 4, but I can't get it.

我右键单击并将一个出口从新的引用出口圈拖到我声明对象的标题中,但没有任何反应.

I right click and drag an outlet from the new referencing outlet circle, and into my header where the object is declared, but nothing happens.

有人用过吗?

非常感谢

推荐答案

我在 Xcode 4 的最终版本中遇到了同样的问题,并通过在使用拖动之前选择 File's Owner Custom Class 解决了它&如下图所示的 drop outlet 功能.

I had the same problem with the final version of Xcode 4 and solved it by selecting the File's Owner Custom Class before using the drag & drop outlet feature like shown on the screenshot below.

这篇关于Xcode 4 - 连接插座的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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