質問編集履歴

2

Debug画面に出力されました。

2018/08/20 04:16

投稿

panyayan
panyayan

スコア36

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- 現在Swift4でiOSアプリを作成しています。
1
+ > 引用テキスト現在Swift4でiOSアプリを作成しています。
2
2
 
3
3
  APiを叩いてJsonを取得しパースした後のデータをテーブルに表示したいのですが
4
4
 
@@ -325,3 +325,7 @@
325
325
  )
326
326
 
327
327
  ```
328
+
329
+
330
+
331
+ ![](cee933e5b058072e696dde476b55a27f.png)

1

Jsonの内容を追加しました

2018/08/20 04:16

投稿

panyayan
panyayan

スコア36

test CHANGED
File without changes
test CHANGED
@@ -253,3 +253,75 @@
253
253
 
254
254
 
255
255
  ```
256
+
257
+
258
+
259
+ ```OutPutJson
260
+
261
+ categories
262
+
263
+ (
264
+
265
+ id: 1,
266
+
267
+ name: "誕生日",
268
+
269
+ stores: [Sweemy.categories.stores
270
+
271
+ (
272
+
273
+ id: 1,
274
+
275
+ name: "Pink Cafe Tokyo",
276
+
277
+ location: "東京",
278
+
279
+ price: "1000~3000",
280
+
281
+ open_time: "10:00-14:00",
282
+
283
+ closed_day: "月曜日",
284
+
285
+ photos: [Sweemy.categories.stores.photos
286
+
287
+ (
288
+
289
+ id: 1,
290
+
291
+ path: "photos/Pink Cafe Tokyo_0.jpeg"
292
+
293
+ )
294
+
295
+ ],
296
+
297
+ tags: [Sweemy.categories.stores.tags
298
+
299
+ (
300
+
301
+ id: 1, name: "スイーツ"
302
+
303
+ ),
304
+
305
+ Sweemy.categories.stores.tags
306
+
307
+ (
308
+
309
+ id: 13,
310
+
311
+ name: "ピンクカフェ"
312
+
313
+ ),
314
+
315
+ Sweemy.categories.stores.tags(
316
+
317
+ id: 14,
318
+
319
+ name: "コンセプトカフェ"
320
+
321
+ )
322
+
323
+ ]
324
+
325
+ )
326
+
327
+ ```