Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import UIKit
- class ViewController: UIViewController {
- @IBOutlet weak var display: UILabel!
- @IBAction func appendDigit(sender: UIButton) {
- let digit = sender.currentTitle
- print("digit = \(digit)")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement