質問編集履歴

1

コードの追加

2018/11/14 08:44

投稿

jiei2717
jiei2717

スコア19

test CHANGED
File without changes
test CHANGED
@@ -27,3 +27,65 @@
27
27
  }
28
28
 
29
29
  ```
30
+
31
+ 全文です
32
+
33
+ ```swift
34
+
35
+ import Foundation
36
+
37
+ import UIKit
38
+
39
+
40
+
41
+ class CommissionLoginViewController: UIViewController {
42
+
43
+
44
+
45
+ @IBOutlet weak var schoolName: UITextField!
46
+
47
+ @IBOutlet weak var id: UITextField!
48
+
49
+ override func viewDidLoad() {
50
+
51
+ super.viewDidLoad()
52
+
53
+
54
+
55
+
56
+
57
+ }
58
+
59
+
60
+
61
+ @IBAction func login(_ sender: Any) {
62
+
63
+
64
+
65
+ print("あああ")
66
+
67
+ let alertController = UIAlertController(title: "エラー", message: "全ての枠を入力してください", preferredStyle: UIAlertController.Style.alert)
68
+
69
+ let okButton = UIAlertAction(title: "OK", style: UIAlertAction.Style.default)
70
+
71
+ alertController.addAction(okButton)
72
+
73
+ present(alertController, animated: true,completion: nil)
74
+
75
+
76
+
77
+
78
+
79
+ }
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+ }
88
+
89
+
90
+
91
+ ```