zumzum zumzum - 2 months ago 15
Swift Question

where did _ArrayType go in Swift 3?

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
.

Any idea?

JAL JAL
Answer

_ArrayType was renamed _ArrayProtocol. You can see this in the ArrayType.swift file and this commit.

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