title: Swift: Add a label and place it underneath another label
body: <p>I want to create labels programmatically with text that comes from a database.</p>
  
  <p>So a for loop is creating the labels with this function at the moment:</p>
  
  <pre><code>    func fillScrollViewWithLabels() {
      for message in messages {
  
          let label = UILabel(frame: CGRectMake(0, 0, 200, 21))
          label.text = message.message
          self.chatScrollView.addSubview(label)
  
      }
  }
  </code></pre>
  
  <p>But this function puts the labels one above the other.</p>
  
  <p>It should look like a messenger - the labels are the text messages and I think a scrollView is perfect for that.</p>