Skip to content

Instantly share code, notes, and snippets.

@zontan
Created July 6, 2020 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zontan/9f9644b91fb84a2cabebdef6d6ecf35b to your computer and use it in GitHub Desktop.
Save zontan/9f9644b91fb84a2cabebdef6d6ecf35b to your computer and use it in GitHub Desktop.
class UserTableViewCell: UITableViewCell {
@IBOutlet weak var displayName: UILabel!
@IBOutlet weak var detailLabel: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
override func prepareForReuse() {
detailLabel.alpha = 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment