Skip to content

Instantly share code, notes, and snippets.

@aryasurya21
Last active June 21, 2020 11:50
Show Gist options
  • Save aryasurya21/df3565458e0441505bc1e839115389f6 to your computer and use it in GitHub Desktop.
Save aryasurya21/df3565458e0441505bc1e839115389f6 to your computer and use it in GitHub Desktop.
Connecting IBOutlet & IBActions
import UIKit
class HomeViewController: UIViewController {
@IBOutlet weak var containerView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
}
@IBAction func tappedCheckIn(_ sender: Any){
}
@IBAction func tappedCheckOut(_ sender: Any){
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment