In swift Angle(degrees : 20.0) , So now I want to convert or store that 20.0 in a Double or String or CGFloat .
What is the process?
CodePudding user response:
You can use degrees
property (which is of type Double
) of an instance of an Angle
type. See the documentation.