gpt4 book ai didi

ios - 命令因信号 : Segmentation fault: 11 due to declaration 而失败

转载 作者:行者123 更新时间:2023-11-29 00:38:34 24 4
gpt4 key购买 nike

我正在尝试在 xcode 8(swift 3.0) 中运行我的代码。当我取消注释这一行时

var arrMovie:[Dictionary]?

我可以运行该应用程序。知道可能是什么问题吗?

最佳答案

Dictionary 是一个泛型类型,它需要两个参数;键和值。

var arrMovie: [Dictionary<String,AnyObject>]?

关于ios - 命令因信号 : Segmentation fault: 11 due to declaration 而失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40037587/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com