Creates an instance initialized with the given elements.
Required. Default implementations provided.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
init(arrayLiteral elements: Self.ArrayLiteralElement...)
Creates an instance initialized with the given elements.
Required. Default implementations provided.
SDK
Framework
init(arrayLiteral elements: Self.ArrayLiteralElement...)
init(arrayLiteral : Self.Scalar...)
Creates a vector from the specified elements.
init(arrayLiteral : Self.Element...)
Creates a set containing the elements of the given array literal.