
btouch-library
MonoTouch allows developers to create C# and .NET based applications that run on Apple's iPhone and Apple's iPod Touch devices, while taking advantage of the iPhone APIs and reusing both code and libraries that have been built for .NET, as well as existing skills.
In order to use third-party Objective-C libraries from MonoTouch, an API Definition File is used in conjunction with a tool called btouch that creates the actual .dll files that can be referenced from MonoTouch and therefore used in .NET iPhone development.
This project was created simply as a location where these third-party bindings can be collected and collaborated on by the MonoTouch community.
The following is the syntax for using the API definition files to create the bindings:
bash$ /Developer/MonoTouch/usr/bin/btouch three20.cs -s:enum.cs
A DLL will then be generated that can be referenced from your MonoTouch project. The third party library (i.e. libThree20.a) file should be added to the project and the following additional mtouch arguments should be configured in the project:
-gcc_flags "-framework QuartzCore -L${ProjectDir} -lThree20 -all_load -nolink"
The library currently includes draft bindings for Three20, RedLaser, and Tapku.
The latest binaries can be downloaded here. These bindings have not been thoroughly tested, so please report any bugs that you may find.
If you would like to contribute to this project, please send an email to nathan (at) iphone life dot com to request commit rights.
Project Information
- License: MIT License
- 9 stars
- svn-based source control
Labels:
monotouch
three20
.net
objective-c
iphone