Advertisement
Guest User

Untitled

a guest
Mar 13th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.24 KB | None | 0 0
  1. import UIKit
  2.  
  3. class ViewController: UIViewController {
  4.    
  5.  
  6.     @IBOutlet weak var display: UILabel!
  7.  
  8.     @IBAction func appendDigit(sender: UIButton) {
  9.         let digit = sender.currentTitle
  10.         print("digit = \(digit)")
  11.     }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement