codestergit / SweetAlert-iOS

Live animated Alert View for iOS written in Swift
MIT License
2.05k stars 304 forks source link

Swift 4.0 'M_PI' is deprecated problem solved! #68

Open alperen23230 opened 5 years ago

alperen23230 commented 5 years ago

For Swift 4.2 "'M_PI' is deprecated: Please use 'Double.pi' or '.pi' to get the value of correct type and avoid casting." And other syntax problems solved.