
Code:
ViewController.swift:
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var
lblday: UILabel!
@IBOutlet weak var
view1: UIView!
@IBOutlet weak var
lblmonth: UILabel!
@IBOutlet weak var
lblyear: UILabel!
@IBOutlet weak var
txtdate: UITextField!
override func
viewDidLoad() {
...