Check out example codes for "how to change the text of a button swift stack overflow". It will help you in understanding the concepts better.

Code Example 1

button.setTitle("Button Title", forState: UIControlState.Normal)

Learn ReactJs, React Native from akashmittal.com