Xcode 4 - 连接出口 [英] Xcode 4 - Connecting Outlets

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

问题描述

此网页显示我可以轻松连接多个联络点 http://开发人员。 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.

有没有人使用过这个?

Has anyone used this?

感谢很多

推荐答案

最终版本的Xcode 4,并通过选择文件的所有者自定义类之前使用拖放&

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天全站免登陆