blob: 68158801dbdea33b9d48ac5ad408a084111a62a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//
// BasicTableViewCell.swift
// MullvadVPN
//
// Created by pronebird on 02/05/2019.
// Copyright © 2019 Mullvad VPN AB. All rights reserved.
//
import UIKit
class BasicTableViewCell: UITableViewCell {
override func awakeFromNib() {
super.awakeFromNib()
let backgroundView = UIView()
backgroundView.backgroundColor = UIColor.Cell.backgroundColor
let selectedBackgroundView = UIView()
selectedBackgroundView.backgroundColor = UIColor.Cell.selectedBackgroundColor
self.backgroundView = backgroundView
self.selectedBackgroundView = selectedBackgroundView
backgroundColor = UIColor.clear
contentView.backgroundColor = UIColor.clear
}
}
|