TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2015 |
Maintained by Eugene Nguyen.
To run the example project, clone the repo, and run pod install
from the Example directory first.
#import "XBLocation.h"
[XBLocation registerLocation];
[self handleLocation:@selector(locationDidChange)];
// and
- (void)locationDidChange
{
NSLog(@"%f %f", [XBLocation currentLocation].coordinate.latitude, [XBLocation currentLocation].coordinate.longitude);
}
// or you can use current location everywhere
[XBLocation currentLocation];
XBLocation is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "XBLocation"
Eugene Nguyen, [email protected]
XBLocation is available under the MIT license. See the LICENSE file for more info.