有没有办法在MonoTouch做一个本机可可类库? [英] Is there a way to make a native cocoa class library in MonoTouch?

查看:136
本文介绍了有没有办法在MonoTouch做一个本机可可类库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道MonoTouch将代码编译为本地机器代码。还有使用MonoTouch做一个本机(.a)类库吗?为了清楚,我不想在两者之间共享代码,因为我知道这是不可能的。

I know that MonoTouch compiles code down to native machine code. Is there anyway to make a native (.a) class library using MonoTouch? Just to be clear, I'm not looking to share code between the two since I know that is not possible.

推荐答案

相信这是可能的,但这将是艰难的工作,它从收缩包装的开箱即用功能很长的路。

I believe it might be possible, but it would be hard work, and it's a long way from shrink-wrapped out-of-the-box functionality.

参考,请查看上的答案有没有办法混合MonoTouch和Objective-C? - 这个问题是关于如何引导,然后从obj-c应用程序调用mt。我认为同样的方法只是一个.a库的工作。

For reference, take a look through the answers on Is there a way to mix MonoTouch and Objective-C? - that question is about how to bootstrap and then call into mt from an obj-c application. I think the same approach would just about work for a .a library.

这篇关于有没有办法在MonoTouch做一个本机可可类库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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