         
         nameTextField.text = ""
         passwordTextField.text = ""
+//        greetingLable
+//        textView
         
         
         

    @IBAction func authenticateAgent(sender: UIButton)
    {
        // This will cause the keyboard to dismiss when the authenticate button is tapped
        if sender. isFirstResponder
        {
            name text field property identifier goes here.resignFirstResponder
        }
        
        //
        // 4. Check whether there is text in BOTH the name and password textfields
        //
        func sayGoodEveningAgent() -> Bool
        if
        
        
            //
            // 5. The greeting label needs to be populated with the the string "Good evening, Agent #", where # is the last name of
            //    the agent logging in. The agent's full name is listed in the text field, but you need to pull out just the last

            //    Strings". You should be able to find a method that allows you to break up a string using a delimiter. In our case,
            //    the delimiter would be a space character.
            //
//        let nameComponents = agentUserTextField.text!.characters.split(" ").map {String($0)}
//        greetingLabel.text = "Good evening, Agent\(nameComponents[0])"
        
        }
        
      
        
            //
            // 6. The mission briefing textview needs to be populated with the briefing from HQ, but it must also include the last
