0
我正在從天氣API獲取數據。我不確定如何訪問說明?Swift 3:遍歷_NSSingleObjectArrayI
"weather": <__NSSingleObjectArrayI 0x608000012910>(
{
description = "overcast clouds";
icon = 04n;
id = 804;
main = Clouds;
}
)
我想:
print(weatherDict["weather"]!.description!)
它只是給了我這個:
(
{
description = "overcast clouds";
icon = 04n;
id = 804;
main = Clouds;
}
)
如何正確訪問說明?