title: Convert UITextView text into [String], separating paragraphs into the Strings
body: <p>I have an <code>iOS</code> project using <code>Xcode 7</code> and <code>Swift3</code>.  I have a <code>UITextView</code> that enables the user to save that text via <code>NSUserDefaults</code> into a <code>String</code> variable.  However, if the user has a lot of text that includes paragraphs, when they save the text, it compiles it together to be one big long string of text, not recognizing the original paragraphs.</p>
  
  <p>How do I have the string of text in essence recognize there are paragraphs and then make them into separate strings that are part of a <code>[String]</code>?  Is this possible?</p>
  
  <p>Example of text:</p>
  
  <pre><code>This is a complex task for me.
  
  I don't know how to do this.
  </code></pre>
  
  <p>After the user names this text, which is two separate small paragraphs, it would save to <code>NSUserDefaults</code> as:</p>
  
  <pre><code>This is a complex task for me.  I don't know how to do this.
  </code></pre>
  
  <p>I know rather than save a <code>String</code> to <code>NSUserDefaults</code> I need to instead use a <code>[String]</code>, but I still can't figure out how to take a <code>UITextView</code> and convert it's text into the string array, separating each paragraph into a separate <code>String</code>.</p>