change the title of a button Swift code example
Example 1: change ui button swift
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)