-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3rd party binding generator #690
3rd party binding generator #690
Conversation
Currently, it's only a first draft.
|
Managed to successfully move OxyPlot, SkiaSharp and VideoManager under automatically generated bindings |
This PR should be ok now. @SergejDK Could you please review it and let me know what you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All in all it looks very good and it seems to work for so much as I could test it :)
Thanks for this feature!
@TimLariviere |
Yes! You're completely right. Forgot to check this file. |
Closes #441, #659 and #664
Glossary:
As explained by #441 (comment), the idea is to write a mapping file with references to other mapping files.
This allows anyone to write their own mapping file to generate bindings for 3rd party libs (like SyncFusion) with the inherited properties/events from Xamarin.Forms.
It's this last part that isn't currently possible.
Writing the following mapping file
And passing it to Fabulous.XamarinForms.Generator, will result in the matching F# binding code with all the same declared parameters of the inherited button control + the new declared parameters.
cc @xperiandri