init(toFileAtPath:append:)
Returns an initialized output stream for writing to a specified file.
Declaration
convenience init?(toFileAtPath path: String, append shouldAppend: Bool)Parameters
Return Value
An initialized output stream that can write to path.
Discussion
The stream must be opened before it can be used.