 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
    }
}


    //@IBOutlet weak var leftBottomLabelTopConstraint: NSLayoutConstraint!

    lazy var mediaCollectionView: UICollectionView = {

        let layout = UICollectionViewFlowLayout()
        layout.minimumLineSpacing = 5
        layout.scrollDirection = .Horizontal

        let collectionView = UICollectionView(frame: CGRectZero, collectionViewLayout: layout)
        collectionView.scrollsToTop = false
        collectionView.contentInset = UIEdgeInsets(top: 0, left: 15 + 40 + 10, bottom: 0, right: 15)
        collectionView.showsHorizontalScrollIndicator = false
