-
Notifications
You must be signed in to change notification settings - Fork 0
Time Display
Azmal Tech edited this page Dec 16, 2016
·
1 revision
// Created by Azmal Hossain on 11/17/16. import UIKit
class ViewController: UIViewController{
@IBOutlet weak var displayTimeLabel: UILabel!
// @IBAction func refreshButton(_ sender: UIButton){
displayTimeLabel.text = formatter.string(from: now as Date)
}
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}