From my understanding, you can't do this. You can take an ObjC library, or a .NET assembly, and put it into a MonoTouch project, but you can't go the other way and embed a MonoTouch library into an xcode project.
On Thu, Jun 28, 2012 at 12:22 AM, vic <[email protected]> wrote: > Hi, > > what I would like to be able to do is to develop an API (library, not app) > on top of MonoTouch, then distribute this API to my users. > > Now, if I create a library (dll) using MonoTouch and give this to a user, > does that force them into using MonoTouch as well? > What if, for whatever reason, they don't want to use MonoTouch? > What are my options for developing and deploying an API built on MonoTouch? > > > I know that I can use the --xcode option to generate XCode project files so > that they can embed it into an ObjectiveC app, however, it seems that this > isn't supported and may very be removed in a future release. > > The API I want to develop is actually meant to be cross platform. The fact > that I want to use Mono basically boils down to developer preference (i.e > working in C#, single code base). For the iOS version, I want to be able to > use the MonoTouch libs. > > > > The only scenario I have come up with so far, and I don't know how feasible > it is, is to develop the core in Mono (stock Mono, not MonoTouch), and embed > that onto the target platform. Any platform specific features (like those > provided by MonoTouch) would then need to be implemented natively for each > platform. > > > > Regards, > Vic > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Deployment-options-for-an-API-built-using-MonoTouch-tp4655613.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
