 
 @objc protocol LocationManagerDelegate : NSObjectProtocol
 {
-    func locationFound(latitude:NSString, longitude:NSString)
-    func locationManagerStatus(status:NSString)
-    func locationManagerHasError(error:NSString)
+    optional func locationFoundGetAsString(latitude:NSString, longitude:NSString)
+    func locationFound(latitude:Double, longitude:Double)
+    optional func locationManagerStatus(status:NSString)
+    optional func locationManagerReceivedError(error:NSString)
 }
 

        var location = arrayOfLocation.lastObject as CLLocation
        var coordLatLon = location.coordinate
        if delegate? != nil{
            delegate?.locationFound(coordLatLon.latitude.description,longitude: coordLatLon.longitude.description)
        }
    }
    

            }else{
                
                if (delegate? != nil){
                    delegate?.locationManagerStatus!(locationStatus)
                    
                }
            }
