0
날씨 API에서 데이터를 가져옵니다. 설명에 액세스하는 방법을 모르겠습니다.스위프트 3 : _NSSingleObjectArray를 통해 반복하십시오.
"weather": <__NSSingleObjectArrayI 0x608000012910>(
{
description = "overcast clouds";
icon = 04n;
id = 804;
main = Clouds;
}
)
내가 시도 :
(
{
description = "overcast clouds";
icon = 04n;
id = 804;
main = Clouds;
}
)
어떻게 제대로 설명을 액세스합니까 :
print(weatherDict["weather"]!.description!)
그것은 날이했다?