daily pastebin goal
18%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. override func viewDidLoad() {
  2.     super.viewDidLoad()
  3.  
  4.     setupLabel()
  5. }
  6.    
  7. private func setupLabel() {
  8.     timeLabel.text = "0.0"
  9.  
  10.     timeLabel.textAlignment = .center
  11.     timeLabel.layer.cornerRadius = 14
  12.     timeLabel.layer.backgroundColor = UIColor.gray.cgColor
  13.     timeLabel.font = UIFont.boldSystemFont(ofSize: 70)
  14.     timeLabel.textColor = .white
  15.  
  16.     view.addSubview(timeLabel)
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top