Is there a way to make a native cocoa class library in MonoTouch?

醉酒当歌 提交于 2020-01-03 16:57:30

问题


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.


回答1:


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.

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.



来源:https://stackoverflow.com/questions/14805211/is-there-a-way-to-make-a-native-cocoa-class-library-in-monotouch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!