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

Xcode 8.3: 62 deprecation warnings #2293

Closed
ghowen opened this issue Mar 28, 2017 · 4 comments
Closed

Xcode 8.3: 62 deprecation warnings #2293

ghowen opened this issue Mar 28, 2017 · 4 comments

Comments

@ghowen
Copy link

ghowen commented Mar 28, 2017

Xcode 8.3 generates 62 warning when using the Charts 3.0.1 pod. They are all deprecation warnings related to constants. Here are the constants that need replacing for Swift 3.1 compatibility:

'M_PI_2' is deprecated: Please use 'Double.pi / 2' or '.pi / 2' to get the value of correct type and avoid casting.

'DBL_MAX' is deprecated: Please use 'Double.greatestFiniteMagnitude' or '.greatestFiniteMagnitude'.

'DBL_EPSILON' is deprecated: Please use 'Double.ulpOfOne' or '.ulpOfOne'.

@dimohamdy
Copy link

please pull the last version you can check last commit aa22439

@oviroa
Copy link

oviroa commented Mar 29, 2017

are you going to make this available via cocoapods?

@liuxuan30
Copy link
Member

liuxuan30 commented Mar 29, 2017

@petester42 usually manages pods. but you can point it to master in your pod.
#2279 is merged already into master

@ghowen
Copy link
Author

ghowen commented Mar 29, 2017

Thank you all. Pointing the pod to master did the trick. As I had to look up how to do it, here is the modified line from the podfile for anyone else wanting to do so:

pod 'Charts', :git => 'https://github.com/danielgindi/Charts.git'

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

No branches or pull requests

4 participants