change button text programmatically swift code example
Example 1: swift change button text
button.setTitle("Button Title",for: .normal)
Example 2: displaying button title swift stackoverflow
println(TheButton.titleLabel!.text)
button.setTitle("Button Title",for: .normal)
println(TheButton.titleLabel!.text)