title: Force UITextView to render text on demand?
body: <p>I'm using a <code>UITextView</code> as a log for some operations that I'm starting when a <code>UIButton</code> is clicked. However, the <code>text</code> property of <code>UITextView</code> when changed, doesn't get rendered as and when it's updated. The whole list of log text gets displayed only as the <code>IBAction</code> for the <code>UIButton</code> returns.</p>
  
  <p>Is this actually possible or should I be looking at some other UI object to this?</p>
  
  <p>Edited to add example code below:</p>
  
  <pre><code>var log: UITextView!
  IBAction func runOps() {
   self.log += "Starting ops..."
  
   self.log += "Starting ops1.."
   self.ops1()
   self.log += "ops1 completed.."
  
   self.log += "Starting ops2.."
   self.ops2()
   self.log += "ops2 completed.."
  }
  </code></pre>