回答編集履歴
1
訂正
answer
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
HashtagIndex.swift
|
2
2
|
|
3
3
|
```swift
|
4
|
-
|
4
|
+
class HashtagIndex {
|
5
|
+
|
5
|
-
class func hashtagIndex(genreIndex:Int) -> [String] {
|
6
|
+
class func hashtagIndex(genreIndex:Int) -> [String] {
|
6
7
|
print(genreIndex)
|
7
8
|
var hashtags: [String]
|
8
9
|
//case文で送られてきたgenre配列のindexからハッシュタグのデータを振り分ける
|
@@ -18,5 +19,7 @@
|
|
18
19
|
}
|
19
20
|
return hashtags
|
20
21
|
}
|
22
|
+
|
23
|
+
}
|
21
24
|
|
22
25
|
```
|