title: TextContainer isn't resizing while changing bounds of UITextView
body: <p>After resizing textView, I want textContainer to be the same size (I want text to be the same width as resized textView) as textView. So what I am doing right now is I create a <code>UITextView</code> programatically, then (with or without text inside textView) I resize textView by changing it's bounds but textContainer stays with the same size (text is in smaller rectangle than textView which looks bad).</p>
  
  <p>Here is some code:</p>
  
  <pre><code>let textStorage = NSTextStorage()
  
  let layoutManager = NSLayoutManager()
  textStorage.addLayoutManager(layoutManager)
  
  let textContainer = NSTextContainer()
  layoutManager.addTextContainer(textContainer)
  
  textContainer.widthTracksTextView = true
  textContainer.heightTracksTextView = true
  
  self.textView = UITextView(frame: textViewFrame, textContainer: textContainer)
  </code></pre>
  
  <p>And later:   </p>
  
  <pre><code>self.textView.bounds = CGRect(x, y, newWidth, newHeight)
  </code></pre>
  
  <p>Currently I am out of ideas why it's not working and can't find solution.</p>