我有一个要转换为Double的字符串数组。然后我想将数组中的每个项目加在一起并得到总和。
到目前为止,这是我的代码。在枚举数组之后,将所有这些元素加在一起遇到了问题。
arrays parse-platform swift
arrays ×1
parse-platform ×1
swift ×1