title: How do I get text from a Swift textView?
body: <p>I'm attempting to learn Swift. In Java (my 'home' language), if I have a JTextField <em>a</em> and I want to get its contents, I simply call</p>
  
  <pre><code>JTextField textField = new JTextField();
  String output = textField.getText();
  </code></pre>
  
  <p>How do I get text from a similar component in Swift?</p>
  
  <p>EDIT: This is all in OSX, not iOS.</p>