agentfll
agentfll

Reputation: 858

CLLocationDegrees initialization

How do you make a CLLocationDegrees? It's not a float, so what is it?

Upvotes: 11

Views: 22442

Answers (2)

Jeff Kelley
Jeff Kelley

Reputation: 19071

According to the CLLocation documentation, CLLocationDegrees is simply a double. So to create one, you could do something as simple as this:

CLLocationDegrees degrees = 45;

Upvotes: 17

Related Questions