StringLiteralConvertible

protocol StringLiteralConvertible

Conforming types can be initialized with arbitrary string literals

Inheritance ExtendedGraphemeClusterLiteralConvertible, UnicodeScalarLiteralConvertible View Protocol Hierarchy →
Associated Types
StringLiteralType
ExtendedGraphemeClusterLiteralType
UnicodeScalarLiteralType
Import import Swift

Initializers

init(stringLiteral:) Required

Create an instance initialized to value.

Declaration

init(stringLiteral value: StringLiteralType)
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