Monotouch和XCode 4,出口到哪里去了? [英] Monotouch and XCode 4, where did the outlets go?

查看:44
本文介绍了Monotouch和XCode 4,出口到哪里去了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我用最新版本的MonoDevelop,MonoTouch和Mono-Framework更新了我的mac.我还下载了最新版本的XCode版本4(下载了漂亮的4.5 gig).

Today I updated my mac with the latest version of MonoDevelop, MonoTouch and the Mono-Framework. I also downloaded the latest version of XCode, version 4 (a nifty 4.5 gig download).

起初我没有注意到它,因为我正忙于将代码复制到项目中以供重用.但是,当到了向MainWindow文件中实际添加一些控件,操作和出口的时候,我意识到有些东西丢失了.

At first I did not notice it because I was busy copying code into my project for re-use. But when the time came to actually add some controls, actions and outlets to the MainWindow file - I realized that something was missing.

希望我已经忽略了某些东西,因为我再也找不到添加功能和动作的功能了吗?在搜寻了问题之后,我意识到新的XCode现在可以通过代码来完成这些事情-但不是在C#中,它完全是目标C的事情.

Hopefully I have over-looked something, because I cannot find functions for adding outlets and actions any more? After googling the problem I realized that the new XCode now does these things by code -- but not in C#, it's exclusively an Objective C thing.

我究竟该如何解决这个问题?我当前正在下载XCode 3.2.6,但是肯定有更好的选择吗? (我什至不知道它是否会在4.x版本上安装)我如何通过代码确切地定义动作和出口?是否有任何相关的教程可以帮助您节省更多时间?

How exactly do I solve this problem? I am currently downloading XCode 3.2.6 but surely there has to be a better option? (I dont even know if this will install over the 4.x version) How exactly do I define actions and outlets by code? Are there any tutorials on this to curve the extra time it will take?

欢迎任何帮助

更新:针对那些需要删除XCode并从头开始的人的提示.打开一个终端窗口,然后输入:

Update: A tip for those who need to remove XCode and start from scratch. Open a terminal window and type:

"sudo /Developer/Library/uninstall-devtools --mode=all"

这将删除您当前的XCode安装(所有安装).请记住,之后要重新启动Mac.然后,您可以安装旧版本的XCode.

This will remove your current XCode installation (all of it). Remember to re-boot your Mac afterwards. You can then install an older version of XCode.

推荐答案

来自Miguel的 MT 4.0公告

我们目前正在努力添加 支持MonoDevelop与之合作 新的XCode 4.

We are currently hard at work to add support to MonoDevelop to work with the new XCode 4.

使用XCode 4,Apple删除了界面 生成器作为独立工具.我们 应该有几个测试版 我们想出了几周的解决方案.

With XCode 4, Apple removed Interface Builder as a standalone tool. We should have a beta in a couple of weeks of the solution we came up with.

这篇关于Monotouch和XCode 4,出口到哪里去了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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