-5
A
回答
0
您确定密钥"quantity"
的对象是Doubles
的数组吗?优力展开结果,以便确保它是[Double]
0
试试这个
guard let quantity: [Double] = salesByStateResponse.value(forKey: "quantity") as? [Double] else {
return
}
相关问题
- 1. swift 2.3 swift 3.0
- 2. Swift 3.0中的Date.copy()
- 3. Swift 3.0中的CGAffineTransformScale
- 4. NSKeyedArchiver&NSKeyedUnarchiver/Swift 3.0
- 5. 在SWIFT 3.0
- 6. IAP - Swift 3.0
- 7. NSView和Swift 3.0
- 8. Swift 3.0中的NSIndexPath和IndexPath
- 9. UnsafePointer使用swift 2.0 swift 3.0
- 10. SWIFT 2.0 SWIFT 3.0 NSNotification /通知
- 11. Swift 2到Swift 3.0 motionManager
- 12. 迁移Swift 2.1到Swift 3.0
- 13. Swift 3.0图像集
- 14. Swift 3.0 - Sprite Kit - Multitouch
- 15. swift 3.0 coreData子类
- 16. Swift 3.0 touchesBegan游戏
- 17. NSBundle.mainBundle()。bundleIdentifier! +“。\(self.rawValue)”在swift 3.0中?
- 18. 在swift中画线3.0
- 19. custome我的AlertController swift 3.0
- 20. 使用Swift 3.0的Firebase UITableView
- 21. textAlignent在Swift 3.0的cellForRowAt中的右边
- 22. UITableView里面UIView在Swift 3.0
- 23. Swift 3.0和web服务
- 24. Swift 3.0字符串问题
- 25. 解析Facebook登录Swift 3.0
- 26. 核心数据/ Swift 3.0
- 27. NSURL以Swift 3.0返回零。
- 28. 整合Paytm与SWIFT 3.0
- 29. 只需双击UITableView Swift 3.0
- 30. 为什么我在SWIFT 3.0
什么实际的错误消息说?强制铸造要求麻烦。 – luk2302