質問編集履歴
2
更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -114,7 +114,7 @@
|
|
114
114
|
|
115
115
|
|
116
116
|
|
117
|
-
こんな感じで、`colors`をスコープの外に出すと、`cannot subscript a value of array`と言って怒られてしまいます。
|
117
|
+
こんな感じで、`colors`をスコープの外に出すと、`UInt8(colors[sequencePostCount][0])`のところで、`cannot subscript a value of array`と言って怒られてしまいます。
|
118
118
|
|
119
119
|
|
120
120
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
{
|
4
4
|
|
5
|
-
let colors: Array = [
|
5
|
+
let colors: Array = [
|
6
6
|
|
7
7
|
[1, 255, 0, 0, 3, 5, 1, 0, 0, 7],
|
8
8
|
|
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
```Swift
|
62
62
|
|
63
|
-
let colors: Array = [
|
63
|
+
let colors: Array = [
|
64
64
|
|
65
65
|
[1, 255, 0, 0, 3, 5, 1, 0, 0, 7],
|
66
66
|
|