Home

Awesome

M6GPSLocationManager

Cocoa iOS Location manager based on CLLocationManager

<pre> - (void)scopeToCurrentLocationWithAcceptableAccuracy:(CLLocationAccuracy)acceptableAccuracy maximumWaitTimeForBetterResult:(NSTimeInterval)maximumWaitTimeForBetterResult maximumAttempts:(NSInteger)maximumAttempts onCompletion:(M6GPSLocationManagerCompletion)completion; </pre>

Simple method with predefined values

<pre> - (void)scopeToCurrentLocation:(M6GPSLocationManagerCompletion)completion; </pre>

#Usage

<pre> [[M6GPSLocationManager shared] scopeToCurrentLocation:^(NSError *error, CLLocation *location) { // do smth. usefull }]; </pre>