Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func viewDidLoad() {
- super.viewDidLoad()
- setupLabel()
- }
- private func setupLabel() {
- timeLabel.text = "0.0"
- timeLabel.textAlignment = .center
- timeLabel.layer.cornerRadius = 14
- timeLabel.layer.backgroundColor = UIColor.gray.cgColor
- timeLabel.font = UIFont.boldSystemFont(ofSize: 70)
- timeLabel.textColor = .white
- view.addSubview(timeLabel)
- }
Add Comment
Please, Sign In to add comment