質問編集履歴

2

修正

2022/04/13 04:55

投稿

faipaspijfasjf
test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
  ```Swift
17
17
  for i in 0..<json.array!.count {
18
18
  let retweeters = Tweeters(name: json[i]["name"].string ?? "ユーザーネームはありません", screenName: json[i]["screen_name"].string ?? "スクリーンネームはありません", profile_image_url: json[i]["profile_image_url"].string ?? "no_image")
19
- print("json[i][screenName]の中身は・・")
19
+ print("json[i][screen_name]の中身は・・")
20
20
  print(json[i]["screen_name"])
21
21
  }
22
22
 

1

修正

2022/04/13 04:55

投稿

faipaspijfasjf
test CHANGED
File without changes
test CHANGED
@@ -17,7 +17,7 @@
17
17
  for i in 0..<json.array!.count {
18
18
  let retweeters = Tweeters(name: json[i]["name"].string ?? "ユーザーネームはありません", screenName: json[i]["screen_name"].string ?? "スクリーンネームはありません", profile_image_url: json[i]["profile_image_url"].string ?? "no_image")
19
19
  print("json[i][screenName]の中身は・・")
20
- print(json[i]["screenName"])
20
+ print(json[i]["screen_name"])
21
21
  }
22
22
 
23
23