【问题标题】:where did _ArrayType go in Swift 3?_ArrayType 在 Swift 3 中去了哪里?
【发布时间】:2016-10-06 23:41:19
【问题描述】:

我有一些代码用于在 Swift 3 之前的 _ArrayType 上进行中继。我试图了解公共协议 _ArrayType 发生了什么。

有什么想法吗?

【问题讨论】:

标签: ios swift swift3 swift-protocols


【解决方案1】:

_ArrayType 更名为 _ArrayProtocol。您可以在ArrayType.swift 文件和this commit 中看到这一点。

internal protocol _ArrayProtocol
  : RangeReplaceableCollection,
    ExpressibleByArrayLiteral
{
    // ...
}

【讨论】:

    猜你喜欢
    • 2014-02-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-17
    • 2012-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多