Search code examples
bindingxamarin.ioscouchdbcouchcocoa

How to create a MonoTouch binding from a .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


Solution

  • 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.