In trying to change all my objective C code into Swift (which is a pretty steep learning curve in itself), I've hit a problem.
I'm simply trying to save a CLLocationDegrees value into Core Data. But nothing I do is working.
I started with:
self.myLocation?.locationCurrentLat = self.fixedLocation?.coordinate.latitude
But have no idea how to get the CLLocationDegrees to downcast (if that's the right thing) to a Double or NSNumber and nothing I can search on Google is helping!
I'm still obviously foggy about lots of things. This is certainly one of them.
What might I be doing wrong ... or need to do?
Thanks in advance