 //
 //  ConfigViewController.swift
 //  Patriot
+//
+//  When the Beacon UUID, major, and minor are invalid,
+//  the enable switch will be off and disabled.
+//
+//  So after making changes, the switch will need to be turned on.
+//  At that point, the data will be read and activated.
 //
 //  Created by Ron Lisle on 5/29/17.
 //  Copyright © 2017 Ron Lisle. All rights reserved.

    }


    func handleUnwindRecognizer(_ recognizer: UIScreenEdgePanGestureRecognizer)
    {
        if recognizer.state == .began

    
    @IBAction func transmitBeaconDidChange(_ sender: UISwitch)
    {
        print("Transmit switch did change: \(transmitBeaconSwitch.isOn)")
    }
    
    
    @objc func textFieldDidChange(sender : AnyObject) {
        guard let notification = sender as? NSNotification,
            let textFieldChanged = notification.object as? UITextField,
            textFieldChanged == self.transmitBeaconUUID else
        {
                return
        }
        print("UUID changed: \(transmitBeaconUUID.text)")
        //TODO: handle text
    }
}
