init(contentsOf:usedEncoding:)
Produces a string created by reading data from a given URL and returns by reference the encoding used to interpret the data.
Declaration
init(contentsOf url: URL, usedEncoding: inout String.Encoding) throwsProduces a string created by reading data from a given URL and returns by reference the encoding used to interpret the data.
init(contentsOf url: URL, usedEncoding: inout String.Encoding) throws