Building Cocoa UIs for OS X with C# and Mono(使用 C# 和 Mono 为 OS X 构建 Cocoa UI)
问题描述
有没有人花时间比较 Mono 的各种 Objective C 桥和相关的 Cocoa 包装器?
Has anyone spent any time comparing the various Objective C bridges and associated Cocoa wrappers for Mono?
我想移植一个现有的 C# 应用程序以在 OS X 上运行.理想情况下,我会在 Mono 上运行该应用程序,并为它构建一个本机 Cocoa UI.
I want to port an existing C# application to run on OS X. Ideally I'd run the application on Mono, and build a native Cocoa UI for it.
我想知道哪座桥是最好的选择.
I'm wondering which bridge would be the best choice.
如果它对任何人有用,这里有一些我到目前为止找到的桥梁的链接:
In case it's useful to anyone, here are some links to bridges I've found so far:
CocoSharp - 在 OS X 上随 Mono 分发 - www.cocoa-sharp.com
CocoSharp - distributed with Mono on OS X - www.cocoa-sharp.com
Monobjc - 比其他文档更好(在我看来) - www.mono-project.com/CocoaSharp 和 www.monobjc.net
Monobjc - better documentation than the others (in my opinion) - www.mono-project.com/CocoaSharp and www.monobjc.net
NObjective - (显然)比其他人更快 - 代码.google.com/p/nobjective
NObjective - (apparently) faster than the others - code.google.com/p/nobjective
MObjc/MCocoa - code.google.com/p/mobjc 和 code.google.com/p/mcocoa
ObjC# - www.mono-project.com/ObjCSharp
推荐答案
Mono 团队发布了一个名为 MonoMac 的新桥.
The Mono team have released a new bridge called MonoMac.
它本质上是他们为 iPhone 制作的 MonoTouch 框架的桌面版本.
It's essentially the desktop version of the MonoTouch framework they produced for the iPhone.
Miguel 在他的博客上宣布了新桥:http://tirania.org/blog/archive/2010/Apr-19.html
Miguel announced the new bridge on his blog here: http://tirania.org/blog/archive/2010/Apr-19.html
一旦 MonoMac 成熟,我怀疑它将成为人们使用的桥梁.
Once MonoMac matures, I suspect that it will become the bridge people use.
这篇关于使用 C# 和 Mono 为 OS X 构建 Cocoa UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用 C# 和 Mono 为 OS X 构建 Cocoa UI
基础教程推荐
- WPF 模态进度窗口 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
