【发布时间】:2016-10-18 19:44:04
【问题描述】:
我有array,其中包含dictionaries。这就是我尝试访问数组的方式。
这是怎么回事?
let aWeather: Dictionary = arrWeatherDeatils[indexPath.row]! as!Dictionary
当我使用此代码时,xcode 显示此错误:
Command failed due to signal: Segmentation fault: 11
【问题讨论】:
-
提供更多代码?
-
你的数组 arrWeatherDetails 是 WS 响应吗??
-
不,这不是直接的 WS 响应。我从 plist 中读取到 arrWeatherDetails
标签: ios arrays swift dictionary