     
     @IBOutlet weak var addressTxt: UITextField!
     @IBOutlet weak var openSwitch: UISwitch!
-
+    
     @IBOutlet weak var locationSwitch: UISwitch!
     
     override func viewDidLoad() {

    }
    
    func getHours() {
        self.yelpBusinessDetails(id: id)
    }
    


    func displayAlert(_ title:String, message:String) {
        self.alertController = UIAlertController(title:title, message:message, preferredStyle: UIAlertControllerStyle.alert)
        let okAction = UIAlertAction(title: "OK", style: UIAlertActionStyle.default) { (action:UIAlertAction) in

        locationSwitch.setOn(false, animated: false)
        addressTxt.text = ""
    }
    
    @IBAction func locationSwitchOn(_ sender: UISwitch) {
        if self.locationSwitch.isOn{
            print ("location check")
