Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michal-majchrzycki/170cc1623f750c880669145058255774 to your computer and use it in GitHub Desktop.
Save michal-majchrzycki/170cc1623f750c880669145058255774 to your computer and use it in GitHub Desktop.
override var isSelected: Bool {
didSet {
if isSelected {
dateLabel!.textColor = UIColor.green
dateLabel.font = UIFont.boldSystemFont(ofSize: 14)
} else {
dateLabel!.textColor = UIColor.darkText
dateLabel.font = UIFont.systemFont(ofSize: 14)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment