Skip to content

Commit d7daa40

Browse files
jrose-appletkremenek
authored andcommitted
[APINotes] Fix mistyped selector in 4091e54. (#2824)
Note that the Swift name here is deliberately different from the Objective-C name. It is the authorization that changed, even though the argument is an authorization status. - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status; optional func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) rdar://problem/26586048 (cherry picked from commit 70e3ebb)
1 parent d80ac27 commit d7daa40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apinotes/CoreLocation.apinotes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Protocols:
1717
- Selector: 'locationManager:didEnterRegion:'
1818
SwiftName: 'locationManager(_:didEnterRegion:)'
1919
MethodKind: Instance
20-
- Selector: 'locationManager:didChangeAuthorization:'
20+
- Selector: 'locationManager:didChangeAuthorizationStatus:'
2121
SwiftName: 'locationManager(_:didChangeAuthorization:)'
2222
MethodKind: Instance

0 commit comments

Comments
 (0)