Skip to content

Instantly share code, notes, and snippets.

@TechMaster
Created July 11, 2017 08:18
Show Gist options
  • Select an option

  • Save TechMaster/a408194ccb7df807336055972f24c07b to your computer and use it in GitHub Desktop.

Select an option

Save TechMaster/a408194ccb7df807336055972f24c07b to your computer and use it in GitHub Desktop.
Lỗi ở file demo.swift
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