質問編集履歴
2
文字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
下記の通りコードを書きましたが、`display
|
9
|
+
下記の通りコードを書きましたが、`display_name`と`tags`のみデータ取得できないです。
|
10
10
|
|
11
11
|
画像の通り、`""`,`[]`となってしまいます。
|
12
12
|
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -156,6 +156,18 @@
|
|
156
156
|
|
157
157
|
```QuestionListViewController
|
158
158
|
|
159
|
+
var questions: [Question] = [] {
|
160
|
+
|
161
|
+
didSet {
|
162
|
+
|
163
|
+
questionListTableView.reloadData()
|
164
|
+
|
165
|
+
}
|
166
|
+
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
|
159
171
|
func getQuestions() {
|
160
172
|
|
161
173
|
Alamofire.request("https://teratail.com/api/v1/questions").responseJSON { response in
|