title: sizeWithFont: in iOS 7
body: <p>I am getting a warning: "'sizeWithFont:constrainedToSize:lineBreakMode:' is deprecated: first deprecated in iOS 7.0"
  Can anyone please suggest me an alternative for this method?</p>
  
  <pre><code>- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  // Calculate height based on cell content — cell content will stretch appropriately when the height is set
  Post *post = self.articleComments[indexPath.row];
  CGFloat width = tableView.frame.size.width - 71 - 15;  // Width of comment text area
  UIFont *commentFont = [UIFont fontWithName:@"SeroCompPro-Light" size:14];
  CGFloat commentTextHeight = [post.text sizeWithFont:commentFont constrainedToSize:CGSizeMake(width, 10000) lineBreakMode:NSLineBreakByWordWrapping].height;
  
  return commentTextHeight + 31 + 37;
  }  
  </code></pre>