         commentCountLabel.numberOfLines = 0
         commentCountLabel.font = UIFont.systemFont(ofSize: 12)
         commentCountLabel.textColor = secondaryColor
+        commentCountLabel.isUserInteractionEnabled = true
         
         timeLabel = UILabel()
         timeLabel.numberOfLines = 0
         timeLabel.font = UIFont.systemFont(ofSize: 8)
         timeLabel.textColor = secondaryColor
+        
+        var tap = UITapGestureRecognizer(target: self, action: #selector(self.didTapPhoto))
+        tap.numberOfTapsRequired = 2
+        photoImageView.addGestureRecognizer(tap)
+        
+        tap = UITapGestureRecognizer(target: self, action: #selector(self.didTapCommentCount))
+        tap.numberOfTapsRequired = 1
+        commentCountLabel.addGestureRecognizer(tap)
+        
+        tap = UITapGestureRecognizer(target: self, action: #selector(self.didTapLikeCount))
+        tap.numberOfTapsRequired = 1
+        likeCountLabel.addGestureRecognizer(tap)
         
         contentView.addSubview(photoImageView)
         contentView.addSubview(heartButton)

extension PostListCollectionCell {
    
    func didTapHeart() {
        
    }
    
    func didTapComment() {
        
    }
}


//  Copyright © 2016 Mounir Ybanez. All rights reserved.
//

import Spring

protocol PostListCollectionCellDelegate: class {
    
    func didTapPhoto(cell: PostListCollectionCell)
    func didTapHeart(cell: PostListCollectionCell)
    func didTapComment(cell: PostListCollectionCell)
    func didTapCommentCount(cell: PostListCollectionCell)
    func didTapLikeCount(cell: PostListCollectionCell)
}

class PostListCollectionCell: UICollectionViewCell {

    weak var delegate: PostListCollectionCellDelegate?
    
    var photoImageView: UIImageView!
    var heartButton: UIButton!
    var commentButton: UIButton!
