Created
July 11, 2017 08:18
-
-
Save TechMaster/a408194ccb7df807336055972f24c07b to your computer and use it in GitHub Desktop.
Lỗi ở file demo.swift
This file contains hidden or 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
| import UIKit | |
| class ViewController: UIViewController { | |
| @IBOutlet weak var txtField: UITextField! | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| // Do any additional setup after loading the view, typically from a nib. | |
| } | |
| @IBAction func onSayHello() { | |
| //print("Hello World" + txtField.text!) | |
| let n = 5 | |
| for i in 1...n { | |
| print(i) | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment