title: Resizing the height of UILabel to fit text
body: <p>I have  UILabel in  my Cell Subclass which is suppose to hold a title. The size of the title can be various lengths and therefor I need to resize the UILabel to fit the text and to prevent that the text is not to long I also need to be able to set maxHeight. The width should be the same. How can I create such code in swift in a tableViewCell subclass?</p>
  
  <p>So far I have this in awakeFromNib</p>
  
  <pre><code>theTitleLabel?.font = UIFont(name: "HelveticaNeue", size: 13)
  theTitleLabel?.textColor = UIColor(rgba: "#4F4E4F")
  theTitleLabel?.numberOfLines = 0
  theTitleLabel?.lineBreakMode = NSLineBreakMode.ByTruncatingTail
  </code></pre>