Tag Archives: cocoa

CoreLocation in 10.6

I took a really quick look at the built-in location services on Mac 10.6.  I wanted to determine what sort of accuracy the feature had out-of-the-box, and what the API looked like. The code is pretty simple.  Just something like: CLLocationManager* locationManager = [[CLLocationManager alloc] init]; locationManager.delegate                = self; locationManager.desiredAccuracy = kCLLocationAccuracyBest; [locationManager startUpdatingLocation]; The [...]
Posted in General, mozilla | Also tagged , , | 3 Comments