Skip to content

Instantly share code, notes, and snippets.

@leoiphonedev
Created September 15, 2018 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leoiphonedev/d96b588cff2533762c1645d2a14dcf0b to your computer and use it in GitHub Desktop.
Save leoiphonedev/d96b588cff2533762c1645d2a14dcf0b to your computer and use it in GitHub Desktop.
Creating IBOutlet and IBaction's for the controls we dragged on UIStoryboard
//
// 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