Creates a string corresponding to the given collection of Unicode scalars.
SDK
- Xcode 6.0.1+
Framework
- Swift Standard Library
Declaration
Parameters
unicodeScalars
A collection of Unicode scalar values.
Discussion
You can use this initializer to create a new string from a slice of another string’s unicode
view.
The adjective
constant is created by calling this initializer with a slice of the picnic
view.