PLEASE HELP (Hello World) : ​i made a simple hello world app,  i want the button to change 2 different text names every time i tap the button, i want the label to say "hello"
, and if i tap button again, i want it to say "goodbye " i want this changes every single time i tap the button, i have tried for days, and i still dont get it, please help.


here is the code: 
import UIKit

class ViewController: UIViewController {

    

    

  

      @IBOutlet weak var labelText: UILabel!

    

    

    

    

       @IBAction func buttonTapped(_ sender: Any) {

        if labelText.text == "hello" {

            

        } else {

            

            

            labelText.text = "goodbye"

            

            

            

        

            

        }

    }

    

    

    

    override func viewDidLoad() {

        super.viewDidLoad()

        // Do any additional setup after loading the view, typically from a nib.

    }

    

    

    

    

  

     

    

    override func didReceiveMemoryWarning() {

        super.didReceiveMemoryWarning()

        // Dispose of any resources that can be recreated.

    }

}
