TWTRTweetTableViewCell.heightForTweet return to much height

ios
swift

#1

Hello,

In the previous version that method return a correct size.

With the last version 2.0.1 of TwitterKit the method is returning more height value that necessary

My code:

 func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat{
        let tweet = tweets[indexPath.row]
        return TWTRTweetTableViewCell.heightForTweet(tweet, style: .Regular, width: CGRectGetWidth(self.timeLine.bounds), showingActions: true)
    }

#2

Same problem here. I was able to resolve it by changing the style parameter from .Regular to .Compact.

func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat{
        let tweet = tweets[indexPath.row]
        return TWTRTweetTableViewCell.heightForTweet(tweet, style: .Compact, width: CGRectGetWidth(self.timeLine.bounds), showingActions: true)
}

#3

Thank you @zim44 I resolve my problem using the style .Compact.