Core Location question....

Posted by Moshe on Stack Overflow See other posts from Stack Overflow or by Moshe
Published on 2010-04-11T12:08:45Z Indexed on 2010/04/11 12:13 UTC
Read the original article Hit count: 403

This tutorial on mobileorchard.com uses 2 classes (or 2 sets of .h and .m) to implement core location. Can I just use everything there in my existing class? How would I do that?

Also, is the

- (id) init { self = [super init]; if (self != nil) { self.locationManager = [[[CLLocationManager alloc] init] autorelease]; self.locationManager.delegate = self; // send loc updates to myself } return self; }

method the same as the usual initWithNib?

I;m trying to quickly implement something based on location information. As much help describing the above linked tutorial would be helpful.

Thanks. No - really, Thank You.

© Stack Overflow or respective owner

Related posts about corelocation

Related posts about iphone-sdk