PhamBaTho / BTNavigationDropdownMenu

The elegant yet functional dropdown menu, written in Swift, appears underneath the navigation bar to display a list of defined items when a user clicks on the navigation title.
MIT License
2.69k stars 411 forks source link

M_PI is deprecated in Swift 3.1 #115

Closed abrahamduran closed 3 years ago

abrahamduran commented 7 years ago

If you update to Swift 3.1 you will find this warning being raised: 'M_PI' is deprecated: Please use 'Double.pi' or '.pi' to get the value of correct type and avoid casting.

While this is just a warning because of a versión upgrade make it ease to fix.

I will provide a pull request.