title: Adjusting the line spacing of UITextView
body: <p>How do I adjust the line height (line spacing) of a UITextView? Where do I change / add the code? I'm currently trying to add code to the <code>didFinishLaunchingWithOptions</code> function in the AppDelegate.swift file. Here is my code:</p>
  
  <pre><code>func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions:     NSDictionary!) -&gt; Bool {
      // Override point for customization after application launch.
      var paragraphStyle = NSMutableParagraphStyle()
      return true
  }
  </code></pre>
  
  <p>Then I select the UITextView and add User Defined Runtime Attributes of the following: </p>
  
  <pre><code>paragraphStyle.lineSpacing = 40
  </code></pre>
  
  <p>I already know I'm doing this completely wrong; how I could do it right?</p>