Tuesday, August 19, 2014

Text Box

Setup:

  1. Drag the control onto the storyboard
  2. @IBOutlet var txb1 : UITextField!

Set Text:

txb1.text = "asdasd"

Get Text:

var strTextFromField = txb1.text

No comments:

Post a Comment