質問編集履歴

2

わかりやすい文法に変更

2020/05/29 05:46

投稿

tutumikan64
tutumikan64

スコア9

test CHANGED
File without changes
test CHANGED
@@ -18,11 +18,11 @@
18
18
 
19
19
  // 配列作成
20
20
 
21
- var numHistory: [Int] = []
21
+ var numArrey: [Int] = []
22
22
 
23
23
  // 配列を表示
24
24
 
25
- historyArea.text = "(numHistory)"
25
+ textViewArea.text = "(numArrey)"
26
26
 
27
27
  ```
28
28
 
@@ -32,9 +32,9 @@
32
32
 
33
33
  ```Swift
34
34
 
35
- for num in numHistory {
35
+ for num in numArrey {
36
36
 
37
- historyArea.text = "(num)"
37
+ textViewArea.text = "(num)"
38
38
 
39
39
  }
40
40
 

1

試した方法の追加

2020/05/29 05:46

投稿

tutumikan64
tutumikan64

スコア9

test CHANGED
File without changes
test CHANGED
@@ -25,3 +25,17 @@
25
25
  historyArea.text = "(numHistory)"
26
26
 
27
27
  ```
28
+
29
+
30
+
31
+ 一度試した方法
32
+
33
+ ```Swift
34
+
35
+ for num in numHistory {
36
+
37
+ historyArea.text = "(num)"
38
+
39
+ }
40
+
41
+ ```