質問編集履歴

2

該当箇所を明示するため

2017/01/25 16:17

投稿

A2wwM
A2wwM

スコア44

test CHANGED
File without changes
test CHANGED
@@ -28,11 +28,13 @@
28
28
 
29
29
 
30
30
 
31
- *以下写真より該当箇所参照
31
+
32
-
33
-
34
-
32
+
33
+
34
+
35
- ![イージ説明](b8fe402f1831d1675014ee394c90e234.png)
35
+ *なぜか写真が添付できないので、該当箇所はコードにコントアウトして記載しておきます
36
+
37
+
36
38
 
37
39
 
38
40
 
@@ -184,21 +186,21 @@
184
186
 
185
187
 
186
188
 
187
-
188
-
189
-
190
-
189
+
190
+
191
+
192
+
191
- if Int((textField?.text)!) == Int(random) {
193
+ if Int((textField?.text)!) == Int(random) { //←該当箇所
192
194
 
193
195
 
194
196
 
195
197
  result.text = "正解!"
196
198
 
197
- } else if Int(textField?.text)! > Int(random) {
199
+ } else if Int(textField?.text)! > Int(random) { //←該当箇所
198
200
 
199
201
  result.text = "それよりは小さい"
200
202
 
201
- } else if Int(textField?.text)! < Int(random) {
203
+ } else if Int(textField?.text)! < Int(random) { //←該当箇所
202
204
 
203
205
  result.text = "それよりは大きい"
204
206
 
@@ -222,7 +224,7 @@
222
224
 
223
225
 
224
226
 
225
- if Int(textField?.text)! == Int(random) {
227
+ if Int(textField?.text)! == Int(random) { //←該当箇所
226
228
 
227
229
  result.text = "正解!"
228
230
 
@@ -232,6 +234,8 @@
232
234
 
233
235
  }
234
236
 
237
+
238
+
235
239
  }
236
240
 
237
241
  }

1

個人情報を消した

2017/01/25 16:16

投稿

A2wwM
A2wwM

スコア44

test CHANGED
File without changes
test CHANGED
@@ -84,9 +84,9 @@
84
84
 
85
85
  //
86
86
 
87
- // Created by 山田諭 on 2017/01/25.
87
+ // Created by on 2017/01/25.
88
-
88
+
89
- // Copyright © 2017年 BbA. All rights reserved.
89
+ // Copyright © 2017年 All rights reserved.
90
90
 
91
91
  //
92
92