Bug 16244 - Allow multiple ObjcBindingApiDefinition in Binding Projects to simplify generated code
Summary: Allow multiple ObjcBindingApiDefinition in Binding Projects to simplify gener...
Status: CONFIRMED
Alias: None
Product: Objective Sharpie
Classification: Desktop
Component: General ()
Version: master
Hardware: Macintosh Mac OS
: Low enhancement
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2013-11-14 17:15 UTC by Jeff Ward
Modified: 2017-04-24 18:06 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 16244 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Jeff Ward 2013-11-14 17:15:52 UTC
If you're using ObjectiveSharpie to generate code for a number of complex libraries for a project (e.g. you're using CocoaPods) it would be nice to allow each header file to be in a separate C# file.  This would make it so generation could occur on a file by file basis, instead of forcing a full re-generate of the library (which is incredibly time consuming)
Comment 1 Jeffrey Stedfast 2013-11-15 15:58:56 UTC
step 1 will require that btouch gets fixed to support that, so reassigning to ios team
Comment 2 Vincent Dondain [MSFT] 2017-04-24 18:06:52 UTC
Step 1 complete: https://github.com/xamarin/maccore/commit/c59b050ce94f19248ab0347d36dfa5167bf7756a

Also the Objective C bindings project lets you have multiple files with a "ObjcBindingApiDefinition" build action and those are all passed to btouch.

Next stop is having sharpie generate more then 1 ApiDefinitions, which I believe is not the case right now.

Reassigning to sharpie and Aaron (correct me if I'm wrong).