如何从 .framework 创建 MonoTouch 绑定 [英] How to create a MonoTouch binding from a .framework

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

问题描述

我下载了 TouchDB,这是一种轻量级的 Apache CouchDB 兼容数据库引擎,适合嵌入到移动设备中"或桌面应用程序",这给了我一堆 .framework 文件夹(CouchCocoa.framework、TouchDB.framework 和 TouchDBListener.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).

我一直在阅读关于将 Obj-C 库绑定到 MonoTouch 的文章,它显示了如何绑定.a,但不是如何绑定 .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.

如何为这些 .framework 绑定?或者我应该在使用它们之前以某种方式制作这些 .framework.a(如果可能的话)?

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)?

--编辑--

相关:https://bitbucket.org/LouisBoux/touchdb-monotouchbinding

推荐答案

您可以像使用 .a 文件一样使用 .framework 文件.例如.MonoTouch 提供的所有绑定(在 monotouch.dll 中)都是由 .framework 文件制成的.

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.

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

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