Contents

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.