I am trying to convert this obj-c code to swift code but I don't know what should be equivalent of this code:
#define DEGREES_TO_RADIANS(degrees)((M_PI * degrees)/180)
I searched on google And I found this : How to use a Objective-C #define from Swift
But I don't understand how to convert that in swift in my case.
Aucun commentaire:
Enregistrer un commentaire