how to change the title of a button using swift stack overflow code example
Example 1: change the title of a button using Swift
button.setTitle("Button Title", for: .normal)
Example 2: displaying button title swift stackoverflow
println(TheButton.titleLabel!.text)