Created
September 15, 2018 15:05
-
-
Save leoiphonedev/d96b588cff2533762c1645d2a14dcf0b to your computer and use it in GitHub Desktop.
Creating IBOutlet and IBaction's for the controls we dragged on UIStoryboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// CATransition-Example | |
// | |
// Created by Aman Aggarwal on 29/08/18. | |
// Copyright © 2018 iostutorialjunction.com. All rights reserved. | |
// | |
import UIKit | |
class ViewController: UIViewController { | |
@IBOutlet weak var lblCounter: UILabel! | |
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. | |
} | |
@IBAction func incrementCounter(_ sender: Any) { | |
} | |
@IBAction func decrementCounter(_ sender: Any) { | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment