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

Add 'init' to PieChartData to be used from Swift #37

Merged
merged 1 commit into from
Apr 23, 2015

Conversation

jmnavarro
Copy link
Contributor

Hey!

We're trying to use your great library from Swift and while we're copying your sample code, we're running into problems because init methods are not inherited in Swift. Since your sample code uses ObjC, maybe that's why it works on ObjC but it doesn't in Swift

You can use this Swift code [https://gist.github.com/jmnavarro/659d29cb3434a0854ae8](copied from PieCharViewController from your sample) to see why it's necessary

Thanks!

danielgindi added a commit that referenced this pull request Apr 23, 2015
Add 'init' to PieChartData to be used from Swift
@danielgindi danielgindi merged commit d951e2d into ChartsOrg:master Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants