Anonymous avatar Anonymous committed e3ba7d0

Fix misspelling of accuracyLabel in the delegate method

Comments (0)

Files changed (6)

WhereIsMyMac-WithUnitTests/Classes/CoreLocationFormatter.h

 - (void)locationFormatter:(CoreLocationFormatter *)formatter
  didUpdateFormattedString:(NSString *)formattedString
             locationLabel:(NSString *)locationLabel
-           accuractyLabel:(NSString *)accuracyLabel;
+			accuracyLabel:(NSString *)accuracyLabel;
 
 @end
 

WhereIsMyMac-WithUnitTests/Classes/CoreLocationFormatter.m

     [_delegate locationFormatter:self
         didUpdateFormattedString:formattedString
                    locationLabel:locationLabel
-                  accuractyLabel:accuracyLabel];
+				   accuracyLabel:accuracyLabel];
 }
 
 - (void)locationManager:(CLLocationManager *)manager
     [_delegate locationFormatter:self
         didUpdateFormattedString:formattedString
                    locationLabel:@""
-                  accuractyLabel:@""];
+				   accuracyLabel:@""];
 }
 
 - (NSURL *)googleMapsUrlForLocation:(CLLocation *)location;

WhereIsMyMac-WithUnitTests/Classes/CoreLocationFormatterTest.m

     [[_mockDelegate expect] locationFormatter:_formatter
                      didUpdateFormattedString:@"ll=-37.809969,144.963264 spn=-0.000018,-0.000014"
                                 locationLabel:@"-37.809969, 144.963264"
-                               accuractyLabel:[NSString stringWithFormat:@"%f", kCLLocationAccuracyBest]];
+								accuracyLabel:[NSString stringWithFormat:@"%f", kCLLocationAccuracyBest]];
     
     // Execute
     [_formatter locationManager:nil didUpdateToLocation:location fromLocation:nil];
     [[_mockDelegate expect] locationFormatter:_formatter
                      didUpdateFormattedString:@"Location manager failed with error: Some error description"
                                 locationLabel:@""
-                               accuractyLabel:@""];
+								accuracyLabel:@""];
     
 
     // Execute

WhereIsMyMac-WithUnitTests/Classes/WhereIsMyMacWindowController.h

 - (void)locationFormatter:(CoreLocationFormatter *)formatter
  didUpdateFormattedString:(NSString *)formattedString
             locationLabel:(NSString *)locationLabel
-           accuractyLabel:(NSString *)accuracyLabel;
+			accuracyLabel:(NSString *)accuracyLabel;
 
 @end

WhereIsMyMac-WithUnitTests/Classes/WhereIsMyMacWindowController.m

 - (void)locationFormatter:(CoreLocationFormatter *)formatter
  didUpdateFormattedString:(NSString *)formattedString_
             locationLabel:(NSString *)locationLabel_
-           accuractyLabel:(NSString *)accuracyLabel_;
+           accuracyLabel	:(NSString *)accuracyLabel_;
 {
     [[webView mainFrame] loadHTMLString:formattedString_ baseURL:nil];
     [locationLabel setStringValue:locationLabel_];

WhereIsMyMac-WithUnitTests/Classes/WhereIsMyMacWindowControllerTests.m

 	[_windowController locationFormatter:_mockLocationFormatter
 				didUpdateFormattedString:@"html string"
 						   locationLabel:@"location"
-						  accuractyLabel:@"accuracy"];
+						   accuracyLabel:@"accuracy"];
 	
 	// Verify
 	[mockWebFrame verify];
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.