Xcode 4 - Connecting Outlets(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 - 连接插座的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Xcode 4 - 连接插座


基础教程推荐
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01