Skip to content

Commit

Permalink
remove test tap
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Liu committed Jun 30, 2015
1 parent 43ab743 commit 1fb4990
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Kingfisher-Demo/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,6 @@ extension ViewController: UICollectionViewDataSource {
}) { (image, error, cacheType, imageURL) -> () in
println("\(indexPath.row + 1): Finished")
}
cell.cellImageView.tag = indexPath.row
cell.cellImageView.userInteractionEnabled = true
var tapGesture = UITapGestureRecognizer(target: self, action: "SomeMethod:")
cell.cellImageView.addGestureRecognizer(tapGesture)

return cell
}

func SomeMethod(recognizer:UIPanGestureRecognizer)
{
print (recognizer.view?.tag)
}
}

0 comments on commit 1fb4990

Please sign in to comment.