davedelong/CHCSVParser

NSInputStream inputStreamWithURL always nil

ldantona opened this issue · 1 comments

Hi,

has anyone experienced NSInputStream inputStreamWithURL: to return nil?

I've tried with simple UTF-8 csv files and:

NSInputStream *stream = [NSInputStream inputStreamWithURL:fileURL];

at line 823 of CHCSVParser.m always returns nil even if fileURL is valid.

Many thanks,
DAN

Just realized I initialized the url with URLWithString instead of initFileURLWithPath!