init(fileAtPath:)
Initializes and returns an NSInputStream object that reads data from the file at a given path.
Declaration
convenience init?(fileAtPath path: String)Parameters
- path:
The path to the file.
Return Value
An initialized NSInputStream object that reads data from the file at path.
Discussion
The stream must be opened before it can be used.