init(contentsOfFile:)
Initialize with the contents of a file.
Declaration
init?(contentsOfFile file: String)Parameters
- file:
The file to read.
Discussion
Returns nil if there was an error reading the file.
Initialize with the contents of a file.
init?(contentsOfFile file: String)The file to read.
Returns nil if there was an error reading the file.