Creates an instance initialized to the given string value.
SDK
- Xcode 6.1+
Framework
- Swift Standard Library
Declaration
Discussion
Do not call this initializer directly. It is used by the compiler when you initialize a string using a string literal. For example:
This assignment to the next
constant calls this string literal initializer behind the scenes.