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


@objc protocol LocationManagerDelegate : NSObjectProtocol
{
    func locationFound(latitude:NSString, longitude:NSString)
    func locationManagerStatus(status:NSString)
    func locationManagerHasError(error:NSString)
}


    func locationManager(manager: CLLocationManager!, didFailWithError error: NSError!) {
        locationManager.stopUpdatingLocation()
        if delegate? != nil{
            delegate?.locationManagerReceivedError!(error.localizedDescription)
        }
    }
    
