title of a button swift stack overflow code example Example: displaying button title swift stackoverflow println(TheButton.titleLabel!.text)