Created
April 6, 2017 06:55
-
-
Save michal-majchrzycki/170cc1623f750c880669145058255774 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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