_ArrayType 在 Swift 3 中去了哪里? [英] where did _ArrayType go in Swift 3?
本文介绍了_ArrayType 在 Swift 3 中去了哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一些代码用于在 Swift 3 之前的 _ArrayType
上中继.我试图了解公共协议 _ArrayType
发生了什么.
I have some code that used to relay on _ArrayType
in pre Swift 3. I am trying to understand what happened to public protocol _ArrayType
.
有什么想法吗?
推荐答案
_ArrayType
更名为 _ArrayProtocol
.您可以在 ArrayType.swift 中看到这一点文件和此提交.
_ArrayType
was renamed _ArrayProtocol
. You can see this in the ArrayType.swift file and this commit.
internal protocol _ArrayProtocol
: RangeReplaceableCollection,
ExpressibleByArrayLiteral
{
// ...
}
这篇关于_ArrayType 在 Swift 3 中去了哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文