Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 4013 [details]
objective c header
Steps to reproduce:
- create a class and protocol in xcode like in the attached test.h
- open objective sharpie, choose ios and generate
- something like test_expected.cs
- names like FMDatabase converted into FmDatabase
- method with no parameter converted into getter, fine for classes, wrong for delegates
Created attachment 4014 [details]
Created attachment 4015 [details]
This is the expected generated code
Created attachment 4016 [details]
Updated expected result
Objective Sharpie provides the basic scaffolding for an API binding and uses a series of heuristics to determine type names and what should be a method or a property. Those are not perfect and we expect developers to make those adjustments after they get the initial scaffolding in place.
This bug was marked as fixed for Xamarin Studio 4.0.9, which is currently in the beta channel. Try it out!
PJ: I think you commented on the wrong bug.