     
     //MARK: - public properties
     public var currentLocation:CLLocation = CLLocation()
+    weak public var delegate:CQZLocationManagerDelegate?
     
     //MARK: - public methods
     public func requestAutorization (type type:CQZLocationManagerRequest){

import UIKit
import CoreLocation

@objc protocol CQZLocationManagerDelegate:NSObjectProtocol {
    optional func didUpdateLocation(location:CLLocation)
    optional func didChangeAuthorizationStatus(status:CLAuthorizationStatus)
}

    public func stopUpdatingLocation(){
        locationManager.stopUpdatingLocation()
    }
    
    //MARK: - private properties
    private let locationManager = CLLocationManager()
