 let feedAttachmentBiggerImageSize = CGSize(width: 160, height: 160)
 
 private let feedMediaCellID = "FeedMediaCell"
+private let screenWidth: CGFloat = UIScreen.mainScreen().bounds.width
 
 class FeedCell: FeedBasicCell {
 


        var hasMedia = false

        if let attachment = feed.attachment {
            if case let .Images(attachments) = attachment {
                hasMedia = !attachments.isEmpty

                self.attachments = attachments
            }
        }

//        if attachments.count > 1 {
//            leftBottomLabelTopConstraint.constant = hasMedia ? (15 + feedAttachmentImageSize.height + 15) : 15
//        } else {
//            leftBottomLabelTopConstraint.constant = hasMedia ? (15 + feedAttachmentBiggerImageSize.height + 15) : 15
//        }

        mediaCollectionView.hidden = hasMedia ? false : true
    }
}



    var attachments = [DiscoveredAttachment]() {
        didSet {

            mediaCollectionView.reloadData()
        }
