Tuesday, August 19, 2014

Label

Setup:

  1. Drag the control onto the storyboard
  2. @IBOutlet var lbl1 : UILabel!


Set Text

lbl1.text = "asdasd"

Get Text

var strTextFromLabel = lbl1.text

No comments:

Post a Comment