Monotouch和XCode 4,插座去哪了? [英] Monotouch and XCode 4, where did the outlets go?

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

问题描述

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

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# 中,它完全是一个 Objective 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 公告

From Miguel's MT 4.0 Announcement

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

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

在 XCode 4 中,Apple 移除了 InterfaceBuilder 作为一个独立的工具.我们应该有几个测试版我们提出了数周的解决方案.

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