Contents

init(contentsOfFile:usedEncoding:)

Produces a string created by reading data from the file at a given path and returns by reference the encoding used to interpret the file.

Declaration

init(contentsOfFile path: String, usedEncoding: inout String.Encoding) throws

See Also

Creating a String from a File or URL