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

Update to Swift 5 #5

Closed
wants to merge 3 commits into from
Closed

Update to Swift 5 #5

wants to merge 3 commits into from

Conversation

Oggerschummer
Copy link

Hi !
I took the time to update the PieChart to Swift 5, including modernizing the delegate method naming, putting data structure definitions into the class and make the delegate methods optional in Swift.
Dropped the objC-Bridging.
So #4 should be solved /obsolete now.
It handles #3 by avoiding the division by zero in case total is zero.
Tested on an iPhone 11, worked smooth.
Feel free to integrate.

Oggerschummer and others added 3 commits November 21, 2019 09:47
…justing the API to a more modern naming convention and putting the data structure definitions into the classes scope.

Tested on iPhone 11.
@maxday
Copy link
Owner

maxday commented Nov 28, 2019

wow thanks ! I'll have a look this week-end !

@Oggerschummer Oggerschummer closed this by deleting the head repository Feb 27, 2023
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