Skip to content
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

Support for Xamarin.Forms #606

Closed
Bogidon opened this issue Dec 11, 2015 · 3 comments
Closed

Support for Xamarin.Forms #606

Bogidon opened this issue Dec 11, 2015 · 3 comments

Comments

@Bogidon
Copy link
Contributor

Bogidon commented Dec 11, 2015

Hello ios-charts contributers and users!

First, congrats on all the work @PhilJay and @danielgindi put into these libraries. High quality products, both.

I wanted to explore the possibility of porting both libraries to Xamarin.Forms. Xamarin.Forms is a relatively new C# API made by Xamarin that provides cross-platform sharing of UI code. The supported platforms are iOS, Android and Windows.

While I've witnessed Xamarin.Forms substantially lessen overhead in cross-platform development, the project currently has a relatively scant selection of open-source components. With a common API between the iOS and Android versions, this project seems like it could make Xamarin.Forms much more useful.

I'm interested in knowing if anyone has tried using ios-charts in a Xamarin.Forms (or Xamarin.iOS) project. If so, could you explain how you did this?

The main problem I'm running that Xamarin seems to be unable to import Swift frameworks. For Objective-C frameworks, C# bindings must be written for Xamarin to recognize the classes. I'm unsure whether C# bindings can be written for bridging ObjC headers in a Swift framework.

For MPAndroidChart, the process is much more straightforward as bindings for .JAR files are well supported.

Let me know what you think!


This issue is dedicated for Xamarin support, any info and discussions on this matter should go here

@Bogidon
Copy link
Contributor Author

Bogidon commented Dec 11, 2015

And I should add, if anyone wants to help out with this I'd be more than happy to collaborate!

@danielgindi
Copy link
Collaborator

Looks to me like you should also try to tag here someone with a know-how from the Xamarin team, so that he can offer insights on the progress of Swift support in Xamarin. As I'm guessing you wouldn't want to just rewrite everything for C#...

@danielgindi danielgindi changed the title Porting ios-charts and MPAndroidChart to Xamarin.Forms Support for Xamarin.Forms Dec 16, 2015
@danielgindi
Copy link
Collaborator

#929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants