Skip to content

Instantly share code, notes, and snippets.



Last active Apr 14, 2018
What would you like to do?
Utils to convert degrees to radians
// MARK: Frameworks
import UIKit
// MARK: Helper Methods
func radians(from degrees: CGFloat) -> CGFloat {
return ((degrees * .pi) / 180)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment