Swift 3 中的 _ArrayType 在哪里?
where did _ArrayType go in Swift 3?
我有一些代码用于在 Swift 之前中继 _ArrayType
3. 我试图了解 public 协议 _ArrayType
发生了什么。
有什么想法吗?
_ArrayType
已重命名为 _ArrayProtocol
。您可以在 ArrayType.swift file and this commit.
中看到这一点
internal protocol _ArrayProtocol
: RangeReplaceableCollection,
ExpressibleByArrayLiteral
{
// ...
}
我有一些代码用于在 Swift 之前中继 _ArrayType
3. 我试图了解 public 协议 _ArrayType
发生了什么。
有什么想法吗?
_ArrayType
已重命名为 _ArrayProtocol
。您可以在 ArrayType.swift file and this commit.
internal protocol _ArrayProtocol
: RangeReplaceableCollection,
ExpressibleByArrayLiteral
{
// ...
}