-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHomeLanch.swift
33 lines (28 loc) · 1.13 KB
/
HomeLanch.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// HomeLanch.swift
// ToiecTest
//
// Created by CNTT-MAC on 6/6/19.
// Copyright © 2019 Long-TeamDev. All rights reserved.
//
import UIKit
import Darwin
class HomeLanch: UIViewController {
//demo
@IBAction func btnHelp(_ sender: UIButton) {
let alert = UIAlertController(title: "Helps", message: "B1. Click Play \n B2. Choise Level \n B3. Play and realize how bad your English is", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "Done", style: .default, handler: nil))
self.present(alert, animated: true)
}
@IBAction func btnInfor(_ sender: UIButton) {
let alert = UIAlertController(title: "Credits", message: "Group 5:\nLe Nguyen Hoa Long : Leader\nVo Thuan Quoc Huy : Developer\nPham Phong : Developer\nNguyen Minh : Developer\nVersion: 1.0", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "Done", style: .default, handler: nil))
self.present(alert, animated: true)
}
override func viewDidLoad() {
super.viewDidLoad()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}