StringLiteralConvertible

Conforming types can be initialized with arbitrary string literals

Inheritance ExtendedGraphemeClusterLiteralConvertible, UnicodeScalarLiteralConvertible View Protocol Hierarchy →
Associated Types
  • ExtendedGraphemeClusterLiteralType
  • UnicodeScalarLiteralType

2 inherited items hidden. (Show all)

Import
  • import Swift

Initializers

init(stringLiteral:) Required

Create an instance initialized to value.

Declaration

init(extendedGraphemeClusterLiteral:) Required

Create an instance initialized to value.

Declaration

  • init(extendedGraphemeClusterLiteral value: ExtendedGraphemeClusterLiteralType)

Declared In

ExtendedGraphemeClusterLiteralConvertible
init(unicodeScalarLiteral:) Required

Create an instance initialized to value.

Declaration

  • init(unicodeScalarLiteral value: UnicodeScalarLiteralType)

Declared In

UnicodeScalarLiteralConvertible

2 inherited items hidden. (Show all)