Contents

string

Creates a string by interpreting the component’s content as UTF-8 on Unix and UTF-16 on Windows.

Declaration

var string: String { get }

Discussion

This property is equivalent to calling String(decoding: component).