Re: [MonoTouch] How to write bindings for a framework?

2012-08-07 Thread Jeff Stedfast
You'll want to add them as BuildAction = BundleResource You can add these files to either the binding project or the app project, it doesn't really matter. Although, if you add it to the binding project, you'll need the updated MSBuild targets from http://files.xamarin.com/~jeff/BindingProjectBuil

Re: [MonoTouch] How to write bindings for a framework?

2012-08-06 Thread Shawn Castrianni
that was also one of my questions. do we do this to the binding project that produces the dll or the top level application project that produces the iap? ___ Shawn On Aug 6, 2012, at 6:53 PM, Alex Soto wrote: > Ok let me see if I understood correctly > > We manually create a folder named "Res

Re: [MonoTouch] How to write bindings for a framework?

2012-08-06 Thread Alex Soto
Ok let me see if I understood correctly We manually create a folder named "Resources" in our MT binding project Then we add the xName.bundle to that folder and any resource files included on the framework Then We compile and everything gets added to the bindingfile.dll file and that it. Do we h

Re: [MonoTouch] How to write bindings for a framework?

2012-08-06 Thread Jeff Stedfast
Hi Shawn, I recently added feature which adds a "Resources" folder where you can add things like the ArcGIS.bundle files. I think it landed in MonoDevelop 3.0.4 (you'll have to create the Resources folder manually, though) Jeff On Mon, Aug 6, 2012 at 3:50 PM, spcware wrote: > I am not sure I

Re: [MonoTouch] How to write bindings for a framework?

2012-08-06 Thread spcware
I am not sure I follow your reply. I was giving multiple options, yet you said it all sounded correct. Let me add some specifics. I am trying to use the ESRI ArcGIS thirdparty framework. I have already started writing the ApiDefinition.cs file to wrap the Objective-C code in C# bindings. It is

Re: [MonoTouch] How to write bindings for a framework?

2012-08-06 Thread Nic Wise
Sounds about right. If it's a plist that exists already, open it up (it's xml) and add it to your existing one. Or edit the existing one and add the new stuff. On Mon, Aug 6, 2012 at 6:25 AM, spcware wrote: > What about the thirdparty bundle and plist file that was distributed with the > thirdpar

Re: [MonoTouch] How to write bindings for a framework?

2012-08-05 Thread spcware
What about the thirdparty bundle and plist file that was distributed with the thirdparty framework? How do I get that into my monotouch app? Do I just drag one or both of them into my app project or the binding library project? -- View this message in context: http://monotouch.2284126.n4.nabb

Re: [MonoTouch] How to write bindings for a framework?

2012-08-02 Thread Nic Wise
(I'm just doing the same :) ) On Thu, Aug 2, 2012 at 7:54 AM, Jeff Stedfast wrote: > I'll poke the docs team about this. > > Jeff > > > On Thu, Aug 2, 2012 at 1:04 AM, spcware wrote: >> >> I guess I should have searched this mailing list for the answer first. I >> saw >> a previous post saying

Re: [MonoTouch] How to write bindings for a framework?

2012-08-02 Thread Jeff Stedfast
I'll poke the docs team about this. Jeff On Thu, Aug 2, 2012 at 1:04 AM, spcware wrote: > I guess I should have searched this mailing list for the answer first. I > saw > a previous post saying that the framework file inside the *.framework file > is usually a static library that can just be r

Re: [MonoTouch] How to write bindings for a framework?

2012-08-01 Thread spcware
I guess I should have searched this mailing list for the answer first. I saw a previous post saying that the framework file inside the *.framework file is usually a static library that can just be renamed to lib.a and then wrapped. Sure enough, that worked great. It would be nice if the Xama

[MonoTouch] How to write bindings for a framework?

2012-08-01 Thread spcware
I have some experience with wrapping a thirdparty library with monotouch. However, the docs only describe how to do it with a static library. What about wrapping thirdparty components distributed as frameworks? Is there a way to convert a framework to a static library? Any help would be appreciat