Skip to content

Commit

Permalink
Fix some whitespace issues
Browse files Browse the repository at this point in the history
No functional changes.
  • Loading branch information
Tyler Fox authored and Tyler Fox committed Jan 19, 2015
1 parent 3c231e4 commit 5dc10cf
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Source/INTULocationManager.m
Expand Up @@ -91,9 +91,9 @@ - (instancetype)init
*/
- (BOOL)locationServicesAvailable
{
if ([CLLocationManager locationServicesEnabled] == NO) {
return NO;
} else if ([CLLocationManager authorizationStatus] == kCLAuthorizationStatusDenied) {
if ([CLLocationManager locationServicesEnabled] == NO) {
return NO;
} else if ([CLLocationManager authorizationStatus] == kCLAuthorizationStatusDenied) {
return NO;
} else if ([CLLocationManager authorizationStatus] == kCLAuthorizationStatusRestricted) {
return NO;
Expand Down Expand Up @@ -502,8 +502,8 @@ - (void)locationRequestDidTimeout:(INTULocationRequest *)locationRequest
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations
{
// Received update successfully, so clear any previous errors
self.updateFailed = NO;
self.updateFailed = NO;
CLLocation *mostRecentLocation = [locations lastObject];
self.currentLocation = mostRecentLocation;

Expand All @@ -513,10 +513,10 @@ - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray

- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error
{
INTULMLog(@"Location update error: %@", [error localizedDescription]);
self.updateFailed = YES;
[self completeAllLocationRequests];
INTULMLog(@"Location update error: %@", [error localizedDescription]);
self.updateFailed = YES;
[self completeAllLocationRequests];
}

- (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status
Expand Down

0 comments on commit 5dc10cf

Please sign in to comment.