prepareForReuse for DiscoverCardUserCell

This commit is contained in:
nixzhu
2015-10-21 13:38:11 +08:00
committed by nixzhu
parent 8f13600caa
commit 7242dfb387
@@ -52,6 +52,12 @@ class DiscoverCardUserCell: UICollectionViewCell {
userSkillsCollectionView.registerNib(UINib(nibName: skillCellIdentifier, bundle: nil), forCellWithReuseIdentifier: skillCellIdentifier)
}
override func prepareForReuse() {
super.prepareForReuse()
avatarImageView.image = nil
}
func configureWithDiscoveredUser(discoveredUser: DiscoveredUser, collectionView: UICollectionView, indexPath: NSIndexPath) {