如何创建MonoTouch的从.framework结合 [英] How to create a MonoTouch binding from a .framework

查看:104
本文介绍了如何创建MonoTouch的从.framework结合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载 TouchDB ,一个轻量级的Apache CouchDB的兼容数据库引擎,适合嵌入到移动和桌面应用程序这给了我一堆 .framework 文件夹(CouchCocoa.framework,TouchDB.framework和TouchDBListener.framework)的

我一直在阅读上结合的OBJ-C库的MonoTouch 的文章,它显示了< A HREF =htt​​p://docs.xamarin.com/ios/advanced_topics/binding_objective-c_types#Binding_an_API>如何绑定一个 .A ,但没怎么绑定 .framework

我如何做一个结合这些 .framework ?或者我应该以某种方式使一个 .A 这些 .framework 使用前(如果这甚至有可能)<? / p>

- 编辑 -

相关:<一href=\"https://bitbucket.org/LouisBoux/touchdb-monotouchbinding\">https://bitbucket.org/LouisBoux/touchdb-monotouchbinding


解决方案

您可以使用 .framework 文件,就像 .A 文件。例如。所有绑定MonoTouch的规定(monotouch.dll)从 .framework 文件由

I downloaded TouchDB, a "lightweight Apache CouchDB-compatible database engine suitable for embedding into mobile or desktop apps", which gives me a bunch of .framework folders (CouchCocoa.framework, TouchDB.framework and TouchDBListener.framework).

I've been reading the article on binding Obj-C libraries to MonoTouch, it shows how to bind a .a, but not how to bind a .framework.

How do I make a binding for these .framework? or should I somehow make a .a of these .framework before using them (if that is even possible)?

--EDIT--

related : https://bitbucket.org/LouisBoux/touchdb-monotouchbinding

解决方案

You can use the .framework files just like the .a files. E.g. all the bindings MonoTouch provides (in monotouch.dll) are made from .framework files.

这篇关于如何创建MonoTouch的从.framework结合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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