用 Mono 编写的 OS X 应用程序是否具有与 MonoTouch 相同的功能?
我的意思是:
- MonoTouch 集成并绑定到 Interface Builder 和完整的 Cocoa 框架。
- MonoTouch 应用程序使用运行时进行编译,因此没有 JIT,并且主机操作系统上不需要存在运行时。
用 Mono 编写的 OS X 应用程序可以利用这些 MonoTouch 功能吗?
What I mean by this is:
- MonoTouch integrates and binds to Interface Builder and the full Cocoa Framework.
- MonoTouch applications compile with the runtime, so there is no JIT, and no runtime needs to be present on the host OS.
Can OS X applications written in Mono take advantage of these MonoTouch features?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
新的“MonoMac”是原生 Cocoa 库的包装器,就像 MonoTouch 一样,并与 Interface Builder 集成。
我不知道是否可以执行完整的 AOT 来摆脱 JIT(因为在完整的计算机上没有什么意义),但是就像 MonoTouch 一样需要运行时。归根结底是运行时是独立的还是与您的应用程序捆绑在一起(如 MonoTouch)。
我认为,随着今天 Mac App Store 的发布,您将看到 Mono 朝着让 Mac 捆绑包变得更容易的方向发展。
http://www.mono-project.com/MonoMac
http://tirania.org/blog/archive/2010/Oct-20-1.html
The new "MonoMac" is a wrapper to the native Cocoa libraries, just like MonoTouch, and integrates with Interface Builder.
I don't know if you can do full AOT to get rid of the JIT (since there's very little point on a full computer), but a runtime will be required just as it is for MonoTouch. What it comes down is whether the runtime is separate or bundled with your application like MonoTouch.
I think with today's Mac App Store announcement, you will see Mono move towards making Mac bundles that are full contained easier.
http://www.mono-project.com/MonoMac
http://tirania.org/blog/archive/2010/Oct-20-1.html