@@ -24,7 +24,6 @@ import CoreLocation
2424import Foundation
2525
2626internal class LocationDelegate : NSObject , CLLocationManagerDelegate {
27-
2827 weak var proxy : AsyncDelegateProxyInterface ?
2928
3029 init ( delegateProxy: AsyncDelegateProxyInterface ) {
@@ -64,7 +63,6 @@ internal class LocationDelegate: NSObject, CLLocationManagerDelegate {
6463 proxy? . eventForMethodInvoked ( . didFailRanginFor( beaconConstraint: beaconConstraint, error: error) )
6564 }
6665
67-
6866// MARK: - Region
6967 func locationManager( _ manager: CLLocationManager , didEnterRegion region: CLRegion ) {
7068 proxy? . eventForMethodInvoked ( . didEnterRegion( region: region) )
@@ -78,7 +76,6 @@ internal class LocationDelegate: NSObject, CLLocationManagerDelegate {
7876 proxy? . eventForMethodInvoked ( . didStartMonitoringFor( region: region) )
7977 }
8078
81-
8279// MARK: - Fails methods
8380 func locationManager( _ manager: CLLocationManager , didFailWithError error: Error ) {
8481 proxy? . eventForMethodInvoked ( . didFailWithError( error: error) )
@@ -93,7 +90,6 @@ internal class LocationDelegate: NSObject, CLLocationManagerDelegate {
9390 proxy? . eventForMethodInvoked ( . didVisit( visit: visit) )
9491 }
9592
96-
9793// MARK: - Pause and resume
9894 func locationManagerDidPauseLocationUpdates( _ manager: CLLocationManager ) {
9995 proxy? . eventForMethodInvoked ( . locationUpdatesPaused)
@@ -102,5 +98,4 @@ internal class LocationDelegate: NSObject, CLLocationManagerDelegate {
10298 func locationManagerDidResumeLocationUpdates( _ manager: CLLocationManager ) {
10399 proxy? . eventForMethodInvoked ( . locationUpdatesResume)
104100 }
105-
106101}
0 commit comments