background colors

This commit is contained in:
Ryan Nystrom
2017-06-02 22:13:23 -04:00
parent 831b0b29bc
commit d9cccfde33
10 changed files with 22 additions and 13 deletions

View File

@@ -22,6 +22,8 @@ final class SegmentedControlCell: UICollectionViewCell {
override init(frame: CGRect) {
super.init(frame: frame)
contentView.backgroundColor = .white
segmentedControl.addTarget(self, action: #selector(SegmentedControlCell.didSelect(sender:)), for: .valueChanged)
segmentedControl.tintColor = Styles.Colors.Blue.medium
contentView.addSubview(segmentedControl)